OppiziDeveloper
API ReferenceAudiences & Designs

List targetable cities

GET
/client/cities

The cities you can target, with the coordinates and state you need for targeting.

search matches either the name or "Name, ST", and state filters by state code.

Page with first (up to 1000) and skip.

Authorization

ClientBearer
AuthorizationBearer <token>

Client-scoped key as a Bearer JWT; always pinned to your own client.

In: header

Query Parameters

search?string

Case-insensitive city name, or "Austin, TX" to pin the state too.

state?string

State code (e.g. TX). Wins over a state parsed out of search.

first?string

Max rows per page (default 500, ≤1000).

skip?string

Page offset (default 0).

Response Body

application/json

curl -X GET "https://example.com/client/cities"
{  "success": true,  "data": {    "nodes": [      {        "id": "55",        "name": "Chicago",        "state": "IL",        "nameWithState": "Chicago, IL",        "country_id": "1",        "country_name": "United States",        "latitude": "41.8781",        "longitude": "-87.6298"      }    ],    "returnedCount": 1,    "totalCount": 42,    "hasNextPage": true,    "complete": false,    "adjustments": [      {        "code": "TRUNCATED",        "field": "nodes",        "requested": 1,        "applied": 1,        "affects": [          "nodes"        ],        "detail": "Showing 1 of 42 cities. Pass skip=1 for the next page."      }    ],    "note": "Showing 1 of 42 cities…"  }}
Empty
Empty
Empty
Empty
Empty