{"issuer":"https://api.fxmacrodata.com","authorization_endpoint":"https://api.fxmacrodata.com/oauth/authorize","token_endpoint":"https://api.fxmacrodata.com/oauth/token","device_authorization_endpoint":"https://api.fxmacrodata.com/oauth/device/authorize","revocation_endpoint":"https://api.fxmacrodata.com/oauth/revoke","registration_endpoint":"https://api.fxmacrodata.com/oauth/register","response_types_supported":["code"],"grant_types_supported":["authorization_code","urn:ietf:params:oauth:grant-type:device_code","refresh_token"],"token_endpoint_auth_methods_supported":["none","client_secret_post","client_secret_basic"],"code_challenge_methods_supported":["S256"],"scopes_supported":["fxmacrodata.read","fxmacrodata.research.write"],"client_id_metadata_document_supported":true,"authorization_response_iss_parameter_supported":true,"fxmacrodata_auth_guidance":{"recommended_for_hosted_mcp":"oauth_authorization_code_pkce","recommended_for_astrbot":"oauth_device_authorization","recommended_for_manual_local_testing":"api_key_bearer_header","oauth_client_registration":{"preferred":"client_id_metadata_document","also_supported":"dynamic_client_registration","cimd_client_id_urls":"An https client_id URL is fetched as a Client ID Metadata Document and its redirect_uris are used; it registers a public PKCE client."},"supported_client_types":{"public_pkce":{"token_endpoint_auth_method":"none","recommended_for":["ChatGPT","VS Code","Cursor","local MCP clients"]},"confidential":{"token_endpoint_auth_methods":["client_secret_post","client_secret_basic"],"recommended_for":["Claude Web","managed enterprise connectors"]}},"fallback":"If a host cannot complete OAuth, send an FXMacroData API key as Authorization: Bearer <key> on MCP, or X-API-Key on REST endpoints.","oauth_account_linking":"The authorization page signs the user in to FXMacroData, or accepts a pasted API key, so the issued access token maps to the customer's plan."}}