API Style Guides · Example Payload

Heroku Rate Limiting

Rate LimitingHeroku

Heroku Rate Limiting is an example object payload from API Style Guides, with 14 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

$schemaidguideleveltitlesummarycategoryrationaleappliesTosourceUrlreferencesexamplesrelatedRulestags

Example Payload

heroku-rate-limiting.json Raw ↑
{
  "$schema": "../json-schema/style-guide-rule-schema.json",
  "id": "heroku-rate-limiting",
  "guide": "style-guides:heroku",
  "level": "MUST",
  "title": "Expose Remaining Quota Via RateLimit-Remaining Header",
  "summary": "The Heroku Platform API allows up to 4,500 request tokens per account, replenished at ~75 tokens per minute. Clients must check the RateLimit-Remaining response header and back off; over-quota requests return 429 Too Many Requests.",
  "category": "Rate Limiting",
  "rationale": "Returning the remaining-quota signal in every response lets clients self-throttle gracefully instead of being surprised by 429s.",
  "appliesTo": ["REST"],
  "sourceUrl": "https://devcenter.heroku.com/articles/platform-api-reference#rate-limits",
  "references": [
    {
      "url": "https://datatracker.ietf.org/doc/draft-ietf-httpapi-ratelimit-headers/",
      "title": "IETF draft-ietf-httpapi-ratelimit-headers",
      "type": "Spec"
    }
  ],
  "examples": [
    {
      "kind": "good",
      "language": "http",
      "snippet": "HTTP/1.1 200 OK\nRateLimit-Remaining: 2400\nContent-Type: application/vnd.heroku+json; version=3"
    },
    {
      "kind": "good",
      "language": "json",
      "snippet": "{\n  \"id\": \"rate_limit\",\n  \"message\": \"Your account reached the API rate limit\",\n  \"url\": \"https://devcenter.heroku.com/articles/platform-api-reference#rate-limits\"\n}",
      "note": "429 error response body."
    }
  ],
  "relatedRules": ["draft-httpapi-ratelimit-headers"],
  "tags": ["Rate Limiting", "Heroku"]
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/heroku-rate-limiting"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.