Quickstart
Base URL: https://getallapis.com. Auth: Authorization: Bearer <key> or X-API-Key: <key>.
- Get a key. Humans:
POST /v1/keys(opens a wallet with trial credit). Agents:POST /v1/agent/signup(capped trial key, expires in 7 days). - Find an endpoint.
GET /v1/catalog?status=liveorGET /v1/catalog/search?q=github(no key needed). Every endpoint also has a page at/apis/{id}. - Quote it (free).
POST /v1/quote/github.repositorywith the input. Validates input and returnscost_usd. - Run it.
POST /v1/run/github.repository. - Re-read it free.
GET /v1/results/{request_id}.
KEY=$(curl -s -X POST https://getallapis.com/v1/keys -H 'Content-Type: application/json' -d '{"label":"me"}' | jq -r .key)
curl -s -X POST https://getallapis.com/v1/run/github.repository \
-H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' \
-d '{"owner":"fastapi","repo":"fastapi"}' | jq '{cost_usd, stars: .output.stars}'
Every success returns the same envelope:
{"ok": true, "request_id": "req_…", "endpoint": "github.repository", "status": "succeeded",
"cost_usd": 0.0012, "items": 1, "latency_ms": 310,
"source": {"id": "github", "name": "GitHub REST API", "kind": "official_api", "demo": false},
"output": { "...": "the result" }}
Coming-soon endpoints are in the catalog with status: "coming_soon"; running one returns 501 coming_soon and charges nothing.
Response headers: X-Request-Id (quote it to support), X-RateLimit-*, Idempotency-Replayed on replays, Retry-After on 202/429/503.
Plain Markdown for agents: /docs/quickstart.md · index: llms.txt