Batch request

Many calls sent together in one HTTP request.

What it means

Batching trades many round trips for one. The trade-off is that the response has to report each item separately.

How Onekey handles it

POST /v1/batch runs up to 100 endpoint calls, mixed platforms allowed, at most 8 at a time. Each item is its own call and its own row; a bad item does not fail the others. Only rows with status 200 are billed, and a batch counts as one request against the rate limit. Add an Idempotency-Key to retry a batch safely.

Read more

Related terms

← All terms