Skip to main content
POST
Look up Meta ads
Look up Meta ads for one company. Send exactly one domain field: a bare hostname or HTTP(S) URL. Paths and queries are ignored after normalization. IP literals, credentials, non-default ports, and invalid domain labels are rejected. The JSON body must fit within 16 KiB.

Usage and credits

The limit is 60 requests per minute per workspace. You need at least 1 credit before the lookup can start. A finite numeric number_of_ads greater than zero costs 1 credit. A zero, missing, nonnumeric, or nonpositive count costs 0 credits. Read credits_consumed for the cost of the lookup. Fields such as page_id and number_of_ads are optional and can vary in type; check them before use. A zero-ad result costs zero credits.

Timeouts and retries

The lookup can take up to 90 seconds. HTTP 504 means that lookup timed out without a debit. Use bounded backoff for temporary errors and rate limits. This endpoint does not support caller idempotency keys. Retrying a successful lookup can run and bill another lookup, including when the original response was lost.

Next step

Review credit balance or rate limits before scheduling more lookups.

Authorizations

Authorization
string
header
required

Use an Airscale workspace API key. Never expose the key in client-side code.

Body

application/json
domain
string
required

Bare company hostname or HTTP(S) URL. Whitespace is trimmed; hostname is lowercased and leading www. and trailing dot are removed. Paths and queries are ignored. IP literals, credentials, non-default ports, and invalid domain labels are rejected. Maximum JSON body size: 16 KiB (oversize returns 400).

Minimum string length: 1

Response

Ad lookup result and credit cost. Ad fields are optional and their types can vary.

credits_consumed
enum<integer>
required
Available options:
0,
1
page_id
any

Meta page identifier, when present.

number_of_ads
any

Ad count, when present. Only a positive finite number is billable.

country_code
any
continuation_token
any
platform
any
media_types
any
sort_data
any
active_status
any
is_result_complete
any
count_landing_pages
any
unique_landing_pages
any
start_min_date
any
start_max_date
any
results
object[]

Ads found for the page, when there are any. Ad fields vary; check for missing or null values before using them.