Skip to main content
Bulk endpoints allow you to fetch multiple items (profiles, content, or games) in a single API request. This is more efficient than making individual requests and helps you stay within rate limits.

When to Use Bulk Operations

Use bulk endpoints when you need to:
  • Fetch multiple items (2-100 items)
  • Reduce HTTP overhead and improve performance
  • Minimize quota usage for multiple items
  • Avoid URL length limits (POST requests don’t have URL length restrictions)

Bulk Endpoints

The API provides bulk endpoints for three resource types:

Profiles

Content

Games

Request Format

All bulk endpoints use the same request structure:
or
or

Limits

  • Minimum: 1 item
  • Maximum: 100 items per request
  • Quota cost: 1 quota unit per item requested

Response Structure

Bulk responses include metadata about which items were found and which were missing:

Handling Partial Failures

Bulk operations are partial success operations. If some items are missing:
  • The request still succeeds (HTTP 200)
  • Found items are returned in payload
  • Missing items are listed in meta.missing_ids
  • You can check meta.found_ids to verify which items were returned

Example: Handling Missing Items

Batching Large Requests

If you need to fetch more than 100 items, split them into batches:

Quota Efficiency

Bulk operations consume quota equal to the number of items requested: Note: Bulk operations don’t save quota, but they:
  • Reduce HTTP overhead
  • Improve performance (single round-trip)
  • Avoid rate limit spikes from many concurrent requests

Best Practices

Use bulk endpoints whenever you need 2+ items. The performance benefits outweigh the complexity.
  • Deduplicate IDs: Remove duplicate IDs before sending (the API may dedupe, but it’s better to do it client-side)
  • Handle missing items: Always check missing_ids and handle gracefully
  • Batch large requests: Split requests larger than 100 items into multiple batches
  • Monitor quota: Bulk requests consume quota quickly; monitor your usage
  • Error handling: Implement retry logic for failed bulk requests

Example: Bulk Profile Fetch

Comparison: Bulk vs Individual Requests

Don’t use bulk endpoints for single items. Use the individual GET endpoints instead for better error messages and simpler code.