For agents
An account, a key and credits. One call, no human.
The Business Data API over REST and MCP. Sign up in one call and start with 100 free credits, no card. After that it is metered per request from a prepaid balance your agent can refill itself.
Hand it to your agent
Paste this into Claude, Grok or any agent that can make HTTP requests. Fill in your name, email and company. By pasting this into your agent you are accepting our terms of service, which you can also find here.
Read https://relativitydata.ai/agents.md and set me up on Relativity Data: sign up with my name <Your Name>, email <you@firm.com> and company <Firm>, then connect to its MCP server with the key you get back. I accept the API & MCP Terms at https://relativitydata.ai/legal/api-terms. If my name, email or company is still a placeholder, ask me before you sign up.
Data API https://data.relativitydata.ai — metered, bearer key
Management API https://api.relativitydata.ai — sign-up, keys, credits; never metered
Reference interactive docs · openapi.json · API llms.txt
Envelope every response is { success, data } or { success: false, message, code }. Keys are snake_case.
People get the same account from sign-up, and manage keys, credits, usage and the IP allowlist on the dashboard. Subscription tiers with monthly quotas are on /pricing/api.
By hand
Or make the three calls yourself.
01
Sign up in one call
One request creates the user, a pay-as-you-go account, its first key and 100 free credits. Replace the values in angle brackets. The key is returned once. No password is needed; once the email is verified, a person can reach the dashboard through password reset.
terms_version is required: it accepts the API & MCP Terms (https://relativitydata.ai/legal/api-terms) for whoever you act for, and the current value is 2026-10-14. A verification email goes out. Data calls work before it is clicked; clicking it adds 400 credits and allows unattended top-ups. On pay as you go the IP allowlist starts off, so the key works from any address.
curl -X POST https://api.relativitydata.ai/v1/business/agents/sign-up \
-H "Content-Type: application/json" \
-d '{"email":"<you@firm.com>","name":"<Your Name>",
"company_name":"<Firm>","terms_version":"2026-10-14"}'
# → { "data": { "token": "cen_…", "credit_balance": 100,
# "data_api_url": "https://data.relativitydata.ai", … } }
# then: export RELATIVITY_API_KEY=cen_… (the samples below read it)02
Read the data, over REST or MCP
Send the key as a bearer token. Every request or tool call spends one credit, and X-Credits-Remaining comes back on each response.
Datasets: business overview at /v1/business-overview/companies/{cik}, peers at /v1/similarity/companies/{cik}/peers, ownership at /v1/ownership/companies/{cik}, one insider at /v1/ownership/companies/{cik}/insiders/{insider_cik}, 5% holders at /v1/ownership/companies/{cik}/major-holders, Form 4 trades at /v1/ownership/companies/{cik}/insider-trades, Form 144 notices of proposed sale at /v1/ownership/companies/{cik}/sale-notices (or up to 100 companies at /v1/ownership/sale-notices?ciks=...), leadership movements at /v1/movements/companies/{cik}. Companies are keyed by SEC CIK or ticker; /v1/meta/companies lists them. MCP tools: get_coverage, resolve_company, get_company_ownership, get_insider_ownership, get_company_major_holders, list_insider_trades, list_sale_notices, get_option_exercises, list_trading_plans, get_company_movements, get_business_overview, get_company_management, find_similar_companies, compare_company_pair, get_usage. Keep at most 2 requests in flight. Throttled and rejected requests are free, and a 5xx is refunded.
# REST
curl https://data.relativitydata.ai/v1/business-overview/companies/0001045810 \
-H "Authorization: Bearer $RELATIVITY_API_KEY"
# MCP, Claude Code (Cursor and Codex take the same URL and header)
claude mcp add --transport http relativity-data \
https://data.relativitydata.ai/mcp \
--header "Authorization: Bearer $RELATIVITY_API_KEY"
# claude.ai / Claude Desktop: a custom connector, URL only, no key:
# https://data.relativitydata.ai/mcp
# It signs in at https://relativitydata.ai/oauth/login as a user whose API account
# has credits. A step 01 user verifies the email, then sets a
# password by reset.03
Keep it funded
The management API takes the same key and is never metered. The first purchase is a hosted checkout a person completes, which saves the card; after that, auto-refill tops up on its own.
Auto-refill and POST /v1/business/credits/top-up charge the saved card with nobody present, so they need the verified email from step 01 (POST /v1/business/credits/resend-verification sends it again) and share a daily spend cap. Rotate a key with POST /v1/business/keys/{key_id}/rotate and revoke it with DELETE /v1/business/keys/{key_id}.
# balance, price and limits
curl https://api.relativitydata.ai/v1/business/credits \
-H "Authorization: Bearer $RELATIVITY_API_KEY"
# once: a checkout URL for a person to complete
curl -X POST https://api.relativitydata.ai/v1/business/credits/checkout \
-H "Authorization: Bearer $RELATIVITY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"amount_cents": 2000, "terms_version": "2026-10-14"}'
# then: refill automatically below a threshold
curl -X PUT https://api.relativitydata.ai/v1/business/credits/auto-refill \
-H "Authorization: Bearer $RELATIVITY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"enabled": true, "threshold_credits": 1000, "amount_cents": 2500}'
# a key per deployment
curl -X POST https://api.relativitydata.ai/v1/business/keys \
-H "Authorization: Bearer $RELATIVITY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"backfill","terms_version":"2026-10-14"}'Errors
Every failure names its fix.
Branch on code, not on the message. Messages are for logs. The two services name their codes separately, so check which host answered.
Data API https://data.relativitydata.ai
400
business.invalid_requestA parameter failed validation. The errors object, when sent, names each field and why; otherwise the message does. Fix and retry.
400
business.invalid_cursorThe cursor was not one this API issued. Restart the listing without it.
401
business.key_invalidMissing, malformed or unknown key.
401
business.key_expiredA rotated key past its grace window. Use the replacement.
401
business.key_revokedThe key was revoked. Issue a new one.
402
business.credits_insufficientBalance is empty. Top up, then retry.
403
business.scope_missingThat dataset is not on your plan.
403
business.account_suspendedBilling lapsed. Keys work again once the account is active.
429
business.rate_limitedPer-plan request ceiling. Honour Retry-After. Costs nothing.
429
business.concurrency_limitToo many requests in flight at once. Keep at most 2 open; back off.
Management API https://api.relativitydata.ai
400
VALIDATION_ERRORA field in the request is missing or malformed. The errors object, when sent, names each field and why; otherwise the message does. Fix and retry.
400
business.sign_up_failedSign-up was refused for a reason not listed here. The message says why.
400
business.credits_amount_out_of_rangeamount_cents is outside the purchase range or buys less than one credit. The message gives the limits.
400
business.terms_version_requiredSend terms_version. The message carries the current value and the terms URL.
400
business.terms_version_staleThe terms changed. Send the current version the message names.
403
business.terms_acceptance_requiredThe account has not accepted the current terms. POST /v1/business/account/accept-terms, then retry.
403
business.credits_email_verification_requiredTop-up and auto-refill need a verified email. Checkout and data calls do not.
409
business.credits_payment_method_requiredNo saved card yet — run one checkout, then top-ups work unattended.
409
business.credits_authentication_requiredThe bank wants interactive auth for this charge. Use checkout.
409
business.credits_payment_processingAccepted, not settled. Credits land on their own; poll /v1/business/credits.
409
business.email_takenSign in and open a pay-as-you-go account from /developer instead.
429
business.credits_spend_capDaily unattended spend limit reached. Checkout is not capped; or wait for the window to roll.
429
rate_limit.exceededManagement-plane limiter (sign-up is 5/hour per IP). Honour Retry-After.
