Skip to main content
The Admin API lets you automate PricePirate workflows from your own tools.

Base URL

Use this base URL for all Admin API requests:

Authentication

Create an API key under Settings → API keys. The token uses the format pp_live_<prefix>.<secret> and is shown only once. Copy it immediately. Send the token in the Authorization header:
Missing, invalid, or revoked tokens return 401 UNAUTHORIZED.

Writes and idempotency

Every write request requires an Idempotency-Key header. This applies to POST, PUT, PATCH, and DELETE requests. Use a unique key for each logical write operation. A UUID works well.
If you repeat the same key with the same request body, the API returns the cached response and includes this header:
The idempotency cache is kept for 24 hours. If you reuse the same key with a different request body, the API returns 409 idempotency_key_reuse. If another request with the same key is still running, the API returns 409 idempotency_key_in_progress.

Rate limits

Each API key can send 60 requests per minute. If you exceed the limit, the API returns 429 TOO_MANY_REQUESTS and includes a Retry-After header with the number of seconds to wait before retrying.

Errors

Error responses use one JSON shape:
Quote the requestId when you contact support about a failed API request.

Pagination

List endpoints use page and perPage query parameters. page is one-based. Use page=1 for the first page.

Reference

Use the endpoints in the Admin API navigation for parameters, response schemas, and examples.