rizamodocs
Accounts

Search places for an account

GET
/accounts/{id}/places

Places a post to this account can be tagged with, found by name: Facebook Pages with an address, the only kind Instagram and Facebook take as a location, read from Meta now (its Pages search, which may miss a Page with few followers). Set a place's id as the target's locationId. For Instagram accounts and Facebook Pages.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the web app, under Developers. It starts with rz_live_.

Path Parameters

id*string

The account (acc_) the post goes to: an Instagram account or a Facebook Page.

Lengthlength <= 100

Query Parameters

q*string

The place's name, with the city if it helps, such as Pastelaria Versailles Lisboa.

Length2 <= length <= 100
limit?integer

How many places to return, up to 10: 5 when left out.

Range1 <= value <= 10
Default5

Response Body

OK

application/json
  1. response
items*array<>
Example Request
curl -X GET 'https://api.rizamo.com/v1/accounts/acc_01m423bp00fz39kp5pc7m42tsw/places?q=Jardim+da+Estrela+Lisboa&limit=5'
Example Response
{  "items": [    {      "id": "112098765432101",      "name": "Jardim da Estrela",      "address": {        "street": "Praça da Estrela",        "city": "Lisbon",        "state": null,        "zip": "1200-667",        "country": "Portugal",        "latitude": 38.7139,        "longitude": -9.1597      }    }  ]}