Tweets

Search X places by name

Changed on

Finds places on X by name. Pass a place's id as place to /x/tweets/search to read posts tagged there. X ranks the places, so their order can differ between requests. Each returned place costs 1 credit.

get/api/v1/x/places/search

Request

  • Base URL: https://xquik.com
  • URL: https://xquik.com/api/v1/x/places/search
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer
    • none

Query parameters

qstring required

Place name to search for, such as istanbul. Alias query.

limitinteger

Maximum places to return. Omit it for every place X finds. Credits can return fewer. Aliases pageSize, count, max_results, maxItems, max_items & per_page.

Response

Places X found for the name

countinteger required

Places returned & charged.

totalinteger required

Places X found, before limit.

messagestring

What to send instead. Present only when X finds no place.

Example response

{
  "places": [
    {
      "id": "5e02a0f0d91c76d2",
      "name": "İstanbul",
      "fullName": "İstanbul, Türkiye",
      "country": "Turkey",
      "countryCode": "TR",
      "placeType": "city",
      "url": "https://api.twitter.com/1.1/geo/id/5e02a0f0d91c76d2.json",
      "centroid": [
        28.84318392941324,
        41.054196399999995
      ],
      "boundingBox": {
        "type": "Polygon",
        "coordinates": [
          [
            [
              28.6321043,
              40.8027337
            ],
            [
              28.6321043,
              41.2399073
            ],
            [
              29.3783413,
              41.2399073
            ],
            [
              29.3783413,
              40.8027337
            ]
          ]
        ]
      },
      "attributes": {},
      "containedWithin": []
    }
  ],
  "count": 1,
  "total": 1,
  "message": "X found no place for that text. Try a city or country name."
}

Changes

    • ●

      added the new x_community_not_joined enum value to the ///// response property for the response status

    • ●

      added the new x_community_not_joined enum value to the ////// response property for the response status

    • ●

      added the new x_community_not_joined enum value to the / response property for the response status

    • ●

      added the new x_community_not_joined enum value to the / response property for the response status

    • ●

      added the new x_community_not_joined enum value to the / response property for the response status

    • ●

      added the new x_community_not_joined enum value to the / response property for the response status

    • ●

      added the new x_community_not_joined enum value to the / response property for the response status

    • ●

      added the new x_community_not_joined enum value to the / response property for the response status

    • ●

      added the new x_community_not_joined enum value to the // response property for the response status

    • ●

      added the new x_community_not_joined enum value to the // response property for the response status

    • ●

      added the new x_community_not_joined enum value to the // response property for the response status

    • ●

      added the new x_community_not_joined enum value to the // response property for the response status

    • ●

      added the new x_community_not_joined enum value to the // response property for the response status

    • ●

      added the new x_community_not_joined enum value to the // response property for the response status

    • ●

      added the new x_community_not_joined enum value to the ////// response property for the response status

    • ●

      added the new x_community_not_joined enum value to the /////// response property for the response status

    • ●

      added the new x_community_not_joined enum value to the ////// response property for the response status

    • ●

      added the new x_community_not_joined enum value to the /////// response property for the response status

    • ●

      added the new x_community_not_selectable enum value to the ///// response property for the response status

    • ●

      added the new x_community_not_selectable enum value to the ////// response property for the response status

    • ●

      added the new x_community_not_selectable enum value to the / response property for the response status

    • ●

      added the new x_community_not_selectable enum value to the / response property for the response status

    • ●

      added the new x_community_not_selectable enum value to the / response property for the response status

    • ●

      added the new x_community_not_selectable enum value to the / response property for the response status

    • ●

      added the new x_community_not_selectable enum value to the / response property for the response status

    • ●

      added the new x_community_not_selectable enum value to the / response property for the response status

    • ●

      added the new x_community_not_selectable enum value to the // response property for the response status

    • ●

      added the new x_community_not_selectable enum value to the // response property for the response status

    • ●

      added the new x_community_not_selectable enum value to the // response property for the response status

    • ●

      added the new x_community_not_selectable enum value to the // response property for the response status

    • ●

      added the new x_community_not_selectable enum value to the // response property for the response status

    • ●

      added the new x_community_not_selectable enum value to the // response property for the response status

    • ●

      added the new x_community_not_selectable enum value to the ////// response property for the response status

    • ●

      added the new x_community_not_selectable enum value to the /////// response property for the response status

    • ●

      added the new x_community_not_selectable enum value to the ////// response property for the response status

    • ●

      added the new x_community_not_selectable enum value to the /////// response property for the response status

    • ●

      added the new x_community_post_public enum value to the ///// response property for the response status

    • ●

      added the new x_community_post_public enum value to the ////// response property for the response status

    • ●

      added the new x_community_post_public enum value to the / response property for the response status

    • ●

      added the new x_community_post_public enum value to the / response property for the response status

    • ●

      added the new x_community_post_public enum value to the / response property for the response status

    • ●

      added the new x_community_post_public enum value to the / response property for the response status

    • ●

      added the new x_community_post_public enum value to the / response property for the response status

    • ●

      added the new x_community_post_public enum value to the / response property for the response status

    • ●

      added the new x_community_post_public enum value to the // response property for the response status

    • ●

      added the new x_community_post_public enum value to the // response property for the response status

    • ●

      added the new x_community_post_public enum value to the // response property for the response status

    • ●

      added the new x_community_post_public enum value to the // response property for the response status

    • ●

      added the new x_community_post_public enum value to the // response property for the response status

    • ●

      added the new x_community_post_public enum value to the // response property for the response status

    • ●

      added the new x_community_post_public enum value to the ////// response property for the response status

    • ●

      added the new x_community_post_public enum value to the /////// response property for the response status

    • ●

      added the new x_community_post_public enum value to the ////// response property for the response status

    • ●

      added the new x_community_post_public enum value to the /////// response property for the response status

    • ●

      added the new x_community_post_removed enum value to the ///// response property for the response status

    • ●

      added the new x_community_post_removed enum value to the ////// response property for the response status

    • ●

      added the new x_community_post_removed enum value to the / response property for the response status

    • ●

      added the new x_community_post_removed enum value to the / response property for the response status

    • ●

      added the new x_community_post_removed enum value to the / response property for the response status

    • ●

      added the new x_community_post_removed enum value to the / response property for the response status

    • ●

      added the new x_community_post_removed enum value to the / response property for the response status

    • ●

      added the new x_community_post_removed enum value to the / response property for the response status

    • ●

      added the new x_community_post_removed enum value to the // response property for the response status

    • ●

      added the new x_community_post_removed enum value to the // response property for the response status

    • ●

      added the new x_community_post_removed enum value to the // response property for the response status

    • ●

      added the new x_community_post_removed enum value to the // response property for the response status

    • ●

      added the new x_community_post_removed enum value to the // response property for the response status

    • ●

      added the new x_community_post_removed enum value to the // response property for the response status

    • ●

      added the new x_community_post_removed enum value to the ////// response property for the response status

    • ●

      added the new x_community_post_removed enum value to the /////// response property for the response status

    • ●

      added the new x_community_post_removed enum value to the ////// response property for the response status

    • ●

      added the new x_community_post_removed enum value to the /////// response property for the response status

    • ▲

      the response property ///// became optional for the status

    • ○

      added the optional property //// to the response with the status

Of the 52 revisions, 1 has no diff computed.