# Search by date

Format DateTime : YYYY-MM-DDTHH:mm:ssZ

<mark style="color:blue;">`GET`</mark> `http://localhost:5001/appgregator/us-central1/twitter/search/recent-by-date/`

#### Query Parameters

| Name                                               | Type   | Description              |
| -------------------------------------------------- | ------ | ------------------------ |
| name<mark style="color:red;">\*</mark>             | String | qantor.co.id             |
| connection\_name<mark style="color:red;">\*</mark> | String | twitter-1                |
| query<mark style="color:red;">\*</mark>            | String | has: media kitten        |
| start\_time<mark style="color:red;">\*</mark>      | String | 2022-07-03T05:23:19.000Z |
| end\_time<mark style="color:red;">\*</mark>        | String | 2022-07-05T02:05:59.000Z |

#### Headers

| Name                                        | Type   | Description                      |
| ------------------------------------------- | ------ | -------------------------------- |
| x-api-key<mark style="color:red;">\*</mark> | String | 43c464439b5507293ba7b315c9875907 |

{% tabs %}
{% tab title="200: OK Success" %}

```javascript
{
    "data": [
        {
            "source": "Twitter Web App",
            "created_at": "2022-07-05T02:05:23.000Z",
            "in_reply_to_user_id": "2783025822",
            "id": "1544140354831560705",
            "attachments": {
                "media_keys": [
                    "3_1544139544534011906"
                ]
            },
            "referenced_tweets": [
                {
                    "type": "replied_to",
                    "id": "1544043860518731778"
                }
            ],
            "entities": {
                "urls": [
                    {
                        "start": 69,
                        "end": 92,
                        "url": "https://t.co/EyWzG4oG9N",
                        "expanded_url": "https://twitter.com/regan_deleon/status/1544140354831560705/photo/1",
                        "display_url": "pic.twitter.com/EyWzG4oG9N",
                        "media_key": "3_1544139544534011906"
                    }
                ],
                "mentions": [
                    {
                        "start": 0,
                        "end": 12,
                        "username": "Bodegacats_",
                        "id": "2783025822"
                    },
                    {
                        "start": 13,
                        "end": 25,
                        "username": "brattyballz",
                        "id": "1331699043613937671"
                    }
                ]
            },
            "text": "@Bodegacats_ @brattyballz My kitten is a bit scribbled in comparison https://t.co/EyWzG4oG9N",
            "possibly_sensitive": false,
            "author_id": "1414565218173206534",
            "lang": "en"
        },
        {
            "source": "Twitter Web App",
            "created_at": "2022-07-05T02:04:21.000Z",
            "id": "1544140091953643521",
            "attachments": {
                "media_keys": [
                    "7_1542881482259468288"
                ]
            },
            "referenced_tweets": [
                {
                    "type": "retweeted",
                    "id": "1542881517260914688"
                }
            ],
            "entities": {
                "urls": [
                    {
                        "start": 89,
                        "end": 112,
                        "url": "https://t.co/1hXmgw5iNj",
                        "expanded_url": "https://twitter.com/meowniments/status/1542881517260914688/video/1",
                        "display_url": "pic.twitter.com/1hXmgw5iNj",
                        "media_key": "7_1542881482259468288"
                    }
                ],
                "mentions": [
                    {
                        "start": 3,
                        "end": 15,
                        "username": "meowniments",
                        "id": "1504670978215129088"
                    }
                ]
            },
            "text": "RT @meowniments: sleepy tired sleeping kitten cat head falling fighting sleep dozing off https://t.co/1hXmgw5iNj",
            "possibly_sensitive": false,
            "author_id": "1285375279",
            "lang": "en"
        },
        {
            "source": "Twitter for Android",
            "created_at": "2022-07-05T02:04:17.000Z",
            "id": "1544140074698551296",
            "referenced_tweets": [
                {
                    "type": "retweeted",
                    "id": "1542514655028842497"
                }
            ],
            "text": "RT @___runningaway: ✨ twitter please do your magic ✨\n\nbismillahirrahmanirrahim\n\nTeman-teman twitter yang baik, izinin aku buat open donasi…",
            "possibly_sensitive": false,
            "author_id": "1108312331476328448",
            "entities": {
                "mentions": [
                    {
                        "start": 3,
                        "end": 18,
                        "username": "___runningaway",
                        "id": "1364793784983162889"
                    }
                ]
            },
            "lang": "in"
        },
        {
            "source": "Twitter for iPhone",
            "created_at": "2022-07-05T02:04:06.000Z",
            "id": "1544140029328445441",
            "referenced_tweets": [
                {
                    "type": "retweeted",
                    "id": "1544013323678584832"
                }
            ],
            "text": "RT @Una_sun_: 7/4に#BAR_KITTENさんへお邪魔しました！メイシャちゃん指名！\n\nスタッフさん達と睨み合いっこしたり部屋の壁すり抜けたりで沢山迷惑かけたのに、けだまのおふざけに付き合ってくれてありがとうございました😋(笑)\n楽しかったです✌️ https:…",
            "entities": {
                "annotations": [
                    {
                        "start": 40,
                        "end": 46,
                        "probability": 0.8277,
                        "type": "Person",
                        "normalized_text": "メイシャちゃん"
                    }
                ],
                "mentions": [
                    {
                        "start": 3,
                        "end": 12,
                        "username": "Una_sun_",
                        "id": "1536682511224295425"
                    }
                ]
            },
            "possibly_sensitive": false,
            "author_id": "1531875072234835968",
            "lang": "ja"
        },
        {
            "source": "Twitter Web App",
            "created_at": "2022-07-05T02:04:04.000Z",
            "id": "1544140022869278720",
            "entities": {
                "hashtags": [
                    {
                        "start": 50,
                        "end": 57,
                        "tag": "TORTIE"
                    },
                    {
                        "start": 58,
                        "end": 65,
                        "tag": "KITTEN"
                    },
                    {
                        "start": 85,
                        "end": 97,
                        "tag": "FUREVERHOME"
                    },
                    {
                        "start": 133,
                        "end": 139,
                        "tag": "ADOPT"
                    }
                ],
                "urls": [
                    {
                        "start": 107,
                        "end": 130,
                        "url": "https://t.co/1wAhbhjGxN",
                        "expanded_url": "https://www.adoptapet.com/pet/34883056-oakland-california-cat",
                        "display_url": "adoptapet.com/pet/34883056-o…",
                        "images": [
                            {
                                "url": "https://pbs.twimg.com/news_img/1543742758967422976/xx2y_cZg?format=jpg&name=orig",
                                "width": 225,
                                "height": 400
                            },
                            {
                                "url": "https://pbs.twimg.com/news_img/1543742758967422976/xx2y_cZg?format=jpg&name=150x150",
                                "width": 150,
                                "height": 150
                            }
                        ],
                        "status": 200,
                        "title": "My name is Vanity [CP]",
                        "description": "Pictures of Vanity [CP] a Domestic Shorthair for adoption in Oakland, CA who needs a loving home.",
                        "unwound_url": "https://www.adoptapet.com/pet/34883056-oakland-california-cat"
                    }
                ],
                "mentions": [
                    {
                        "start": 3,
                        "end": 13,
                        "username": "sachikoko",
                        "id": "24238030"
                    }
                ]
            },
            "referenced_tweets": [
                {
                    "type": "retweeted",
                    "id": "1543742754978639872"
                }
            ],
            "text": "RT @sachikoko: 🙏🏽PLZ SHARE\n🌸ADORABLE 2.5MO DILUTE #TORTIE🐾#KITTEN🐾\"VANITY\"🌸\n🛎NEEDS A🏡#FUREVERHOME🏡\n➡4 INFO https://t.co/1wAhbhjGxN\n🙏🏽#ADOPT…",
            "possibly_sensitive": false,
            "author_id": "3245630026",
            "lang": "en"
        },
        {
            "source": "Twitter for Android",
            "created_at": "2022-07-05T02:03:56.000Z",
            "id": "1544139987506974721",
            "attachments": {
                "media_keys": [
                    "3_1544139979550363648",
                    "3_1544139983094554624",
                    "3_1544139985741156352"
                ]
            },
            "entities": {
                "urls": [
                    {
                        "start": 63,
                        "end": 86,
                        "url": "https://t.co/907pM80sDe",
                        "expanded_url": "https://twitter.com/turnipchamber/status/1544139987506974721/photo/1",
                        "display_url": "pic.twitter.com/907pM80sDe",
                        "media_key": "3_1544139979550363648"
                    },
                    {
                        "start": 63,
                        "end": 86,
                        "url": "https://t.co/907pM80sDe",
                        "expanded_url": "https://twitter.com/turnipchamber/status/1544139987506974721/photo/1",
                        "display_url": "pic.twitter.com/907pM80sDe",
                        "media_key": "3_1544139983094554624"
                    },
                    {
                        "start": 63,
                        "end": 86,
                        "url": "https://t.co/907pM80sDe",
                        "expanded_url": "https://twitter.com/turnipchamber/status/1544139987506974721/photo/1",
                        "display_url": "pic.twitter.com/907pM80sDe",
                        "media_key": "3_1544139985741156352"
                    }
                ],
                "annotations": [
                    {
                        "start": 21,
                        "end": 25,
                        "probability": 0.9697,
                        "type": "Person",
                        "normalized_text": "Jamie"
                    }
                ]
            },
            "text": "wanna see the kitten Jamie and I are getting? of course you do https://t.co/907pM80sDe",
            "possibly_sensitive": false,
            "author_id": "3246550051",
            "lang": "en"
        },
        {
            "source": "IFTTT",
            "created_at": "2022-07-05T02:03:53.000Z",
            "id": "1544139976035663880",
            "entities": {
                "hashtags": [
                    {
                        "start": 18,
                        "end": 21,
                        "tag": "ねこ"
                    },
                    {
                        "start": 22,
                        "end": 24,
                        "tag": "猫"
                    },
                    {
                        "start": 25,
                        "end": 30,
                        "tag": "キジトラ"
                    },
                    {
                        "start": 31,
                        "end": 36,
                        "tag": "きじとら"
                    },
                    {
                        "start": 37,
                        "end": 41,
                        "tag": "保護猫"
                    },
                    {
                        "start": 42,
                        "end": 47,
                        "tag": "保護ねこ"
                    },
                    {
                        "start": 48,
                        "end": 56,
                        "tag": "保護猫と暮らす"
                    },
                    {
                        "start": 57,
                        "end": 65,
                        "tag": "猫のいる暮らし"
                    },
                    {
                        "start": 66,
                        "end": 75,
                        "tag": "にゃんすたぐらむ"
                    },
                    {
                        "start": 76,
                        "end": 84,
                        "tag": "ねこすたぐらむ"
                    },
                    {
                        "start": 85,
                        "end": 95,
                        "tag": "にゃんだふるらいふ"
                    },
                    {
                        "start": 96,
                        "end": 108,
                        "tag": "猫好きさんと繋がりたい"
                    },
                    {
                        "start": 109,
                        "end": 117,
                        "tag": "ねこのいる生活"
                    },
                    {
                        "start": 118,
                        "end": 122,
                        "tag": "ねこ部"
                    },
                    {
                        "start": 123,
                        "end": 127,
                        "tag": "猫好き"
                    },
                    {
                        "start": 128,
                        "end": 132,
                        "tag": "cat"
                    },
                    {
                        "start": 133,
                        "end": 144,
                        "tag": "catstagram"
                    },
                    {
                        "start": 145,
                        "end": 152,
                        "tag": "kitten"
                    },
                    {
                        "start": 153,
                        "end": 164,
                        "tag": "browntabby"
                    }
                ],
                "urls": [
                    {
                        "start": 165,
                        "end": 188,
                        "url": "https://t.co/bEBsDJNMPe",
                        "expanded_url": "https://twitter.com/ten_sora_ame/status/1544139976035663880/photo/1",
                        "display_url": "pic.twitter.com/bEBsDJNMPe",
                        "media_key": "3_1544139974748119041"
                    }
                ]
            },
            "attachments": {
                "media_keys": [
                    "3_1544139974748119041"
                ]
            },
            "text": "朝から食べる食べる食べる🍚🍚🍚\n⁡\n#ねこ #猫 #キジトラ #きじとら #保護猫 #保護ねこ #保護猫と暮らす #猫のいる暮らし #にゃんすたぐらむ #ねこすたぐらむ #にゃんだふるらいふ #猫好きさんと繋がりたい #ねこのいる生活 #ねこ部 #猫好き #cat #catstagram #kitten #browntabby https://t.co/bEBsDJNMPe",
            "possibly_sensitive": false,
            "author_id": "1539858142259191808",
            "lang": "ja"
        },
        {
            "source": "Twitter for Android",
            "created_at": "2022-07-05T02:03:51.000Z",
            "id": "1544139967147847687",
            "attachments": {
                "media_keys": [
                    "3_1535757195022807040"
                ]
            },
            "referenced_tweets": [
                {
                    "type": "retweeted",
                    "id": "1535757198411780097"
                }
            ],
            "entities": {
                "urls": [
                    {
                        "start": 89,
                        "end": 112,
                        "url": "https://t.co/m5ogieAmWw",
                        "expanded_url": "https://twitter.com/luvsickbunni/status/1535757198411780097/photo/1",
                        "display_url": "pic.twitter.com/m5ogieAmWw",
                        "media_key": "3_1535757195022807040"
                    }
                ],
                "mentions": [
                    {
                        "start": 3,
                        "end": 16,
                        "username": "luvsickbunni",
                        "id": "1527744604920872960"
                    }
                ]
            },
            "text": "RT @luvsickbunni: hey it’s your discord kitten gimme nitro &amp; stream your games to me https://t.co/m5ogieAmWw",
            "possibly_sensitive": false,
            "author_id": "1070370175457861633",
            "lang": "en"
        },
        {
            "geo": {
                "place_id": "e7c6785879785f6b"
            },
            "source": "Twitter for Android",
            "created_at": "2022-07-05T02:03:41.000Z",
            "in_reply_to_user_id": "80815716",
            "id": "1544139926471581699",
            "attachments": {
                "media_keys": [
                    "3_1544139923325870081"
                ]
            },
            "referenced_tweets": [
                {
                    "type": "replied_to",
                    "id": "1543465387190153216"
                }
            ],
            "entities": {
                "urls": [
                    {
                        "start": 55,
                        "end": 78,
                        "url": "https://t.co/Kmdp4lEiqs",
                        "expanded_url": "https://twitter.com/LovingHippy/status/1544139926471581699/photo/1",
                        "display_url": "pic.twitter.com/Kmdp4lEiqs",
                        "media_key": "3_1544139923325870081"
                    }
                ],
                "mentions": [
                    {
                        "start": 0,
                        "end": 12,
                        "username": "TheRealXPac",
                        "id": "80815716"
                    },
                    {
                        "start": 13,
                        "end": 28,
                        "username": "YaOnlyLivvOnce",
                        "id": "2245639517"
                    }
                ]
            },
            "text": "@TheRealXPac @YaOnlyLivvOnce My kitten named after you https://t.co/Kmdp4lEiqs",
            "possibly_sensitive": false,
            "author_id": "1355959267501748229",
            "lang": "en"
        },
        {
            "source": "Twitter for Android",
            "created_at": "2022-07-05T02:03:41.000Z",
            "id": "1544139925192593411",
            "attachments": {
                "media_keys": [
                    "7_1544051757193564162"
                ]
            },
            "referenced_tweets": [
                {
                    "type": "retweeted",
                    "id": "1544133001184829441"
                }
            ],
            "entities": {
                "urls": [
                    {
                        "start": 57,
                        "end": 80,
                        "url": "https://t.co/LLxmhZG8Hg",
                        "expanded_url": "https://twitter.com/Amoloscanes/status/1544051784510996483/video/1",
                        "display_url": "pic.twitter.com/LLxmhZG8Hg",
                        "media_key": "7_1544051757193564162"
                    }
                ],
                "mentions": [
                    {
                        "start": 3,
                        "end": 18,
                        "username": "classicsnature",
                        "id": "1025627037996703744"
                    }
                ]
            },
            "text": "RT @classicsnature: I love u kitten who missed her baby🥰 https://t.co/LLxmhZG8Hg",
            "possibly_sensitive": false,
            "author_id": "822907244756905984",
            "lang": "en"
        }
    ],
    "includes": {
        "users": [
            {
                "created_at": "2021-07-12T12:40:12.000Z",
                "description": "Click into the home page ❤️\nShare cute animals and funny things #cat #dog",
                "id": "1414565218173206534",
                "name": "Cute pets",
                "username": "regan_deleon"
            },
            {
                "created_at": "2013-03-21T07:51:31.000Z",
                "description": "🎵🎶 The girl the time forgot 🎶🎵\n\nHetalia. MXTX World. Danmei. LoL. \n\nWriter | Professional Proofreader | Fandom translator | She/They | 🇲🇽 | Spa-Eng",
                "id": "1285375279",
                "name": "Annie | 안니어 | アニㅡ",
                "username": "HetATKirkland"
            },
            {
                "created_at": "2019-03-20T10:20:26.000Z",
                "description": "maaf di private dulu 🙏",
                "id": "1108312331476328448",
                "name": "m",
                "username": "justfyouxixi"
            },
            {
                "created_at": "2022-06-01T05:47:51.000Z",
                "description": "𝙶𝚒𝚛𝚕’𝚜 𝙱𝙰𝚁 𝙺𝙸𝚃𝚃𝙴𝙽 𝚌𝚊𝚜𝚝 .ᐟ.ᐟ.ᐟ  #BAR_KITTEN",
                "id": "1531875072234835968",
                "name": "めいしゃ",
                "username": "7melpu"
            },
            {
                "created_at": "2015-05-10T23:44:04.000Z",
                "description": "",
                "id": "3245630026",
                "name": "VERACHIKA VERA",
                "username": "VerachikaV"
            },
            {
                "created_at": "2015-06-16T05:04:59.000Z",
                "description": "Multidisciplinary artist, fiber crafter, and CS/future LIS student. profile pic by @sheepcuties",
                "id": "3246550051",
                "name": "lovely knit turnip 🧶",
                "username": "turnipchamber"
            },
            {
                "created_at": "2022-06-23T06:29:44.000Z",
                "description": "⁡ 天(てん)さん ♂ 天(そら)さん ♂ 天(あめ)さん ♀ ⁡ 2022年3月生まれ🐣🐣🐣 ３兄弟妹のキジトラの保護猫 #猫 #キジトラ #保護猫 #猫のいる暮らし",
                "id": "1539858142259191808",
                "name": "てん🐈そら🐈あめ🐈",
                "username": "ten_sora_ame"
            },
            {
                "created_at": "2018-12-05T17:31:51.000Z",
                "description": "EDM Producer. CHECK OUT THE SOUNDCLOUD FOR DIRTY BEATS:3\nOnly repost original content\nSUPPORT YOUR FAVORITE SEX WORKERS[18+ NSFW] https://t.co/YGuyQeCa3U",
                "id": "1070370175457861633",
                "name": "Pliskin666",
                "username": "Pliskin6661"
            },
            {
                "created_at": "2021-01-31T19:21:26.000Z",
                "description": "Love Wrestling,cats and peace.Asuka,Shotzi,Io and Kari Sane",
                "id": "1355959267501748229",
                "name": "Cat_loving_hippy",
                "username": "LovingHippy"
            },
            {
                "created_at": "2017-01-21T20:42:30.000Z",
                "description": "leave your mesage, please. avatar by @zerotabi1210.",
                "id": "822907244756905984",
                "name": "i might be stupid, but i",
                "username": "scaredcrowls"
            }
        ],
        "tweets": [
            {
                "source": "Twitter for iPhone",
                "created_at": "2022-07-04T19:41:57.000Z",
                "id": "1544043860518731778",
                "attachments": {
                    "media_keys": [
                        "3_1544043856819355650"
                    ]
                },
                "entities": {
                    "urls": [
                        {
                            "start": 0,
                            "end": 23,
                            "url": "https://t.co/u8LIWnB8lo",
                            "expanded_url": "https://twitter.com/Bodegacats_/status/1544043860518731778/photo/1",
                            "display_url": "pic.twitter.com/u8LIWnB8lo",
                            "media_key": "3_1544043856819355650"
                        }
                    ]
                },
                "text": "https://t.co/u8LIWnB8lo",
                "possibly_sensitive": false,
                "author_id": "2783025822",
                "lang": "zxx"
            },
            {
                "source": "Twitter for Android",
                "created_at": "2022-07-01T14:43:13.000Z",
                "id": "1542881517260914688",
                "attachments": {
                    "media_keys": [
                        "7_1542881482259468288"
                    ]
                },
                "entities": {
                    "urls": [
                        {
                            "start": 72,
                            "end": 95,
                            "url": "https://t.co/1hXmgw5iNj",
                            "expanded_url": "https://twitter.com/meowniments/status/1542881517260914688/video/1",
                            "display_url": "pic.twitter.com/1hXmgw5iNj",
                            "media_key": "7_1542881482259468288"
                        }
                    ]
                },
                "text": "sleepy tired sleeping kitten cat head falling fighting sleep dozing off https://t.co/1hXmgw5iNj",
                "possibly_sensitive": false,
                "author_id": "1504670978215129088",
                "lang": "en"
            },
            {
                "source": "Twitter for iPhone",
                "created_at": "2022-06-30T14:25:26.000Z",
                "id": "1542514655028842497",
                "attachments": {
                    "media_keys": [
                        "3_1542514648368328707",
                        "3_1542514648347312130"
                    ]
                },
                "entities": {
                    "urls": [
                        {
                            "start": 211,
                            "end": 234,
                            "url": "https://t.co/wqNWmeRKRH",
                            "expanded_url": "https://twitter.com/___runningaway/status/1542514655028842497/photo/1",
                            "display_url": "pic.twitter.com/wqNWmeRKRH",
                            "media_key": "3_1542514648368328707"
                        },
                        {
                            "start": 211,
                            "end": 234,
                            "url": "https://t.co/wqNWmeRKRH",
                            "expanded_url": "https://twitter.com/___runningaway/status/1542514655028842497/photo/1",
                            "display_url": "pic.twitter.com/wqNWmeRKRH",
                            "media_key": "3_1542514648347312130"
                        }
                    ]
                },
                "text": "✨ twitter please do your magic ✨\n\nbismillahirrahmanirrahim\n\nTeman-teman twitter yang baik, izinin aku buat open donasi untuk kitten korban tabrak lari ini, aku dikabarin katanya udah ketabrak dari 2 hari lalu🥺😭 https://t.co/wqNWmeRKRH",
                "possibly_sensitive": true,
                "author_id": "1364793784983162889",
                "lang": "in"
            },
            {
                "source": "Twitter for Android",
                "created_at": "2022-07-04T17:40:37.000Z",
                "id": "1544013323678584832",
                "attachments": {
                    "media_keys": [
                        "3_1544013317441613824",
                        "3_1544013319496904705",
                        "3_1544013321602359297"
                    ]
                },
                "entities": {
                    "urls": [
                        {
                            "start": 119,
                            "end": 142,
                            "url": "https://t.co/I2XPCuW7ma",
                            "expanded_url": "https://twitter.com/Una_sun_/status/1544013323678584832/photo/1",
                            "display_url": "pic.twitter.com/I2XPCuW7ma",
                            "media_key": "3_1544013317441613824"
                        },
                        {
                            "start": 119,
                            "end": 142,
                            "url": "https://t.co/I2XPCuW7ma",
                            "expanded_url": "https://twitter.com/Una_sun_/status/1544013323678584832/photo/1",
                            "display_url": "pic.twitter.com/I2XPCuW7ma",
                            "media_key": "3_1544013319496904705"
                        },
                        {
                            "start": 119,
                            "end": 142,
                            "url": "https://t.co/I2XPCuW7ma",
                            "expanded_url": "https://twitter.com/Una_sun_/status/1544013323678584832/photo/1",
                            "display_url": "pic.twitter.com/I2XPCuW7ma",
                            "media_key": "3_1544013321602359297"
                        }
                    ],
                    "annotations": [
                        {
                            "start": 26,
                            "end": 32,
                            "probability": 0.8371,
                            "type": "Person",
                            "normalized_text": "メイシャちゃん"
                        }
                    ]
                },
                "text": "7/4に#BAR_KITTENさんへお邪魔しました！メイシャちゃん指名！\n\nスタッフさん達と睨み合いっこしたり部屋の壁すり抜けたりで沢山迷惑かけたのに、けだまのおふざけに付き合ってくれてありがとうございました😋(笑)\n楽しかったです✌️ https://t.co/I2XPCuW7ma",
                "possibly_sensitive": false,
                "author_id": "1536682511224295425",
                "lang": "ja"
            },
            {
                "source": "Twitter Web App",
                "created_at": "2022-07-03T23:45:28.000Z",
                "id": "1543742754978639872",
                "entities": {
                    "hashtags": [
                        {
                            "start": 35,
                            "end": 42,
                            "tag": "TORTIE"
                        },
                        {
                            "start": 43,
                            "end": 50,
                            "tag": "KITTEN"
                        },
                        {
                            "start": 70,
                            "end": 82,
                            "tag": "FUREVERHOME"
                        },
                        {
                            "start": 118,
                            "end": 124,
                            "tag": "ADOPT"
                        },
                        {
                            "start": 125,
                            "end": 133,
                            "tag": "AdoptMe"
                        },
                        {
                            "start": 134,
                            "end": 148,
                            "tag": "AdoptDontShop"
                        },
                        {
                            "start": 149,
                            "end": 157,
                            "tag": "MODESTO"
                        },
                        {
                            "start": 158,
                            "end": 161,
                            "tag": "CA"
                        },
                        {
                            "start": 162,
                            "end": 173,
                            "tag": "STANISLAUS"
                        },
                        {
                            "start": 177,
                            "end": 184,
                            "tag": "NORCAL"
                        },
                        {
                            "start": 185,
                            "end": 199,
                            "tag": "CatsofTwitter"
                        },
                        {
                            "start": 238,
                            "end": 242,
                            "tag": "CAT"
                        }
                    ],
                    "urls": [
                        {
                            "start": 92,
                            "end": 115,
                            "url": "https://t.co/1wAhbhjGxN",
                            "expanded_url": "https://www.adoptapet.com/pet/34883056-oakland-california-cat",
                            "display_url": "adoptapet.com/pet/34883056-o…",
                            "images": [
                                {
                                    "url": "https://pbs.twimg.com/news_img/1543742758967422976/xx2y_cZg?format=jpg&name=orig",
                                    "width": 225,
                                    "height": 400
                                },
                                {
                                    "url": "https://pbs.twimg.com/news_img/1543742758967422976/xx2y_cZg?format=jpg&name=150x150",
                                    "width": 150,
                                    "height": 150
                                }
                            ],
                            "status": 200,
                            "title": "My name is Vanity [CP]",
                            "description": "Pictures of Vanity [CP] a Domestic Shorthair for adoption in Oakland, CA who needs a loving home.",
                            "unwound_url": "https://www.adoptapet.com/pet/34883056-oakland-california-cat"
                        },
                        {
                            "start": 243,
                            "end": 266,
                            "url": "https://t.co/dXqcFbLZef",
                            "expanded_url": "https://twitter.com/sachikoko/status/1543742754978639872/photo/1",
                            "display_url": "pic.twitter.com/dXqcFbLZef",
                            "media_key": "3_1543742678319316993"
                        },
                        {
                            "start": 243,
                            "end": 266,
                            "url": "https://t.co/dXqcFbLZef",
                            "expanded_url": "https://twitter.com/sachikoko/status/1543742754978639872/photo/1",
                            "display_url": "pic.twitter.com/dXqcFbLZef",
                            "media_key": "3_1543742720044240897"
                        }
                    ],
                    "mentions": [
                        {
                            "start": 216,
                            "end": 232,
                            "username": "AdoptRescueCats",
                            "id": "206825651"
                        }
                    ]
                },
                "attachments": {
                    "media_keys": [
                        "3_1543742678319316993",
                        "3_1543742720044240897"
                    ]
                },
                "text": "🙏🏽PLZ SHARE\n🌸ADORABLE 2.5MO DILUTE #TORTIE🐾#KITTEN🐾\"VANITY\"🌸\n🛎NEEDS A🏡#FUREVERHOME🏡\n➡4 INFO https://t.co/1wAhbhjGxN\n🙏🏽#ADOPT #AdoptMe #AdoptDontShop\n#MODESTO #CA #STANISLAUS CO #NORCAL #CatsofTwitter\n✅CATS✅DOGS✅KIDS @AdoptRescueCats (CP) #CAT https://t.co/dXqcFbLZef",
                "possibly_sensitive": false,
                "author_id": "24238030",
                "lang": "en"
            },
            {
                "source": "Twitter for iPhone",
                "created_at": "2022-06-11T22:53:43.000Z",
                "id": "1535757198411780097",
                "attachments": {
                    "media_keys": [
                        "3_1535757195022807040"
                    ]
                },
                "entities": {
                    "urls": [
                        {
                            "start": 71,
                            "end": 94,
                            "url": "https://t.co/m5ogieAmWw",
                            "expanded_url": "https://twitter.com/luvsickbunni/status/1535757198411780097/photo/1",
                            "display_url": "pic.twitter.com/m5ogieAmWw",
                            "media_key": "3_1535757195022807040"
                        }
                    ]
                },
                "text": "hey it’s your discord kitten gimme nitro &amp; stream your games to me https://t.co/m5ogieAmWw",
                "possibly_sensitive": false,
                "author_id": "1527744604920872960",
                "lang": "en"
            },
            {
                "source": "Twitter for Android",
                "created_at": "2022-07-03T05:23:19.000Z",
                "id": "1543465387190153216",
                "referenced_tweets": [
                    {
                        "type": "quoted",
                        "id": "1543421035130884096"
                    }
                ],
                "entities": {
                    "urls": [
                        {
                            "start": 89,
                            "end": 112,
                            "url": "https://t.co/4ZMGUeEG9y",
                            "expanded_url": "https://twitter.com/WWE/status/1543421035130884096",
                            "display_url": "twitter.com/WWE/status/154…"
                        }
                    ],
                    "mentions": [
                        {
                            "start": 46,
                            "end": 61,
                            "username": "YaOnlyLivvOnce",
                            "id": "2245639517"
                        }
                    ]
                },
                "text": "It was only a matter of time. Congratulations @YaOnlyLivvOnce!\nDefinitely well deserved. https://t.co/4ZMGUeEG9y",
                "possibly_sensitive": false,
                "author_id": "80815716",
                "lang": "en"
            },
            {
                "source": "Twitter for Android",
                "created_at": "2022-07-05T01:36:10.000Z",
                "id": "1544133001184829441",
                "attachments": {
                    "media_keys": [
                        "7_1544051757193564162"
                    ]
                },
                "entities": {
                    "urls": [
                        {
                            "start": 37,
                            "end": 60,
                            "url": "https://t.co/LLxmhZG8Hg",
                            "expanded_url": "https://twitter.com/Amoloscanes/status/1544051784510996483/video/1",
                            "display_url": "pic.twitter.com/LLxmhZG8Hg",
                            "media_key": "7_1544051757193564162"
                        }
                    ]
                },
                "text": "I love u kitten who missed her baby🥰 https://t.co/LLxmhZG8Hg",
                "possibly_sensitive": false,
                "author_id": "1025627037996703744",
                "lang": "en"
            }
        ]
    },
    "meta": {
        "newest_id": "1544140354831560705",
        "oldest_id": "1544139925192593411",
        "result_count": 10,
        "next_token": "b26v89c19zqg8o3fpz2m0uyrwb66tpwlw25ba29jxlcvx"
    }
}
```

{% endtab %}

{% tab title="400: Bad Request Bad request" %}

```javascript
Request failed with status code 400
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="cURL" %}

```shell
curl --location --request GET 'https://us-central1-appgregator.cloudfunctions.net/twitter/search/recent-by-date?name=qantor.co.id&connection_name=twitter-1&query=has: media  kitten&start_time=2022-07-03T05:23:19.000Z&end_time=2022-07-05T02:05:59.000Z' \
--header 'x-api-key: 43c464439b5507293ba7b315c9875907'
```

{% endtab %}

{% tab title="NodeJs - Axios" %}

```javascript
var axios = require('axios');

var config = {
  method: 'get',
  url: 'https://us-central1-appgregator.cloudfunctions.net/twitter/search/recent-by-date?name=qantor.co.id&connection_name=twitter-1&query=has: media  kitten&start_time=2022-07-03T05:23:19.000Z&end_time=2022-07-05T02:05:59.000Z',
  headers: { 
    'x-api-key': '43c464439b5507293ba7b315c9875907'
  }
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});

```

{% endtab %}

{% tab title="PHP - cURL" %}

```php
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://us-central1-appgregator.cloudfunctions.net/twitter/search/recent-by-date?name=qantor.co.id&connection_name=twitter-1&query=has:%20media%20%20kitten&start_time=2022-07-03T05:23:19.000Z&end_time=2022-07-05T02:05:59.000Z',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_HTTPHEADER => array(
    'x-api-key: 43c464439b5507293ba7b315c9875907'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

```

{% endtab %}
{% endtabs %}
