https://api.onsomble.ai/v1.
Before you begin
Your account needs a plan that includes API access. If it does not, requests return afeature_not_in_plan error with a link to the available plans.
Create an API key
- In Onsomble, open Settings → Account.
- In API Keys, select Create key.
- Give the key a name that identifies the integration.
- Agency accounts can choose Account scope or restrict the key to one Client. Business accounts use account scope.
- Copy the key when it is shown, then store it in your integration’s secret manager. Onsomble does not show the full key again.
Make your first call
List the Sites visible to the key. Replaceons_your_api_key with the key you copied.
nextCursor as the cursor query parameter on the next request until it is null.
Authenticate requests
Send the key with every request using the HTTPAuthorization header:
Filter reports by platform
Report endpoints use stable platform IDs. Each ID tells you which AI product answered and whether Onsomble collected that answer from the web or an API. Provider implementation details stay internal. For example,chatgpt_app means ChatGPT on the web, while chatgpt_api means ChatGPT through its API. Repeat the platform query parameter to include more than one:
Work within rate limits
Rate limits apply to the account, not to an individual key. Keys belonging to the same account share one request bucket. Every response includes these headers:
When a request returns
429, wait until X-RateLimit-Reset before retrying. Do not create extra keys to increase throughput: they share the same account limit.
Handle errors by code
Every non-success response has a stable JSON envelope withstatusCode, code, and message. Your integration should branch on code, not on the message text.