Docs / Guide

Concurrency

Credits and Concurrency

Credits control billable usage. Your plan's concurrency limit controls simultaneous work.

ControlBehavior
Monthly creditsReset with the active billing period.
Top-up creditsUsed after monthly credits and do not expire.
Endpoint weightsRead from the live public catalog.
ConcurrencyLimits simultaneous requests or active jobs.

Concurrency Response

A rejected request returns 429. Wait for Retry-After before retrying.

Example
Retry-After: 5
X-Concurrency-Limit: 2
X-Concurrency-Active: 2
Example
{
  "detail": "Data API concurrency limit reached (2 active requests)."
}

Live Credit Weights

curl -X GET "https://api.datablue.dev/v1/data-api-weights/public" \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response
[
  {
    "platform": "classic",
    "operation": "scrape",
    "weight": 1
  },
  {
    "platform": "google",
    "operation": "flights",
    "weight": 3
  }
]