Skip to main content
Financial Context accepts two credential types for external market-data calls:
  • API keys created in Financial Context account settings
  • OAuth bearer tokens for approved CLI, MCP, or agent clients
Use these Financial Context credentials for API requests.

API Key Header

x-api-key is the recommended header for server-to-server integrations.

OAuth Bearer Token

Bearer tokens must include market-data access for the market_data scope.

JavaScript Example

Python Example

Error Responses

Rotate keys periodically and revoke keys that are no longer used.