Skip to main content
Use the Demand API to quote and buy sample.

Typical flow

1

Get the taxonomy

Load audiences and filter values with Get taxonomy.
2

Get a quote

Call Create a preview to get the feasible N, CPI and a preview id.
3

Create a project

Call Create a project with the preview id. The response includes your redirect URLs.
4

Upload your screener

5

Launch it

Set the status to ACTIVE with Update project status.
6

Track respondents

Authentication

Send your API key as a bearer token in the Authorization header of every request.
Requests with a missing or invalid key return 403 UNAUTHORIZED.

Request IDs

Send X-Request-Id with a request to trace it, and we echo it back. If you don’t send one, we generate one. It also appears as requestId in error bodies.

Errors

Errors return a code, a message, the requestId and, for validation errors, the field that failed.
General errors, which any endpoint can return: Endpoint pages list their own codes.

Rate limits

Limits apply per API key. Every response includes:
X-RateLimit-Reset is a Unix timestamp. Over the limit, you get 429 RATE_LIMITED with a Retry-After header in seconds.

Support

For questions about the API, email engineering@emporiaapp.com.