# BEA on Onekey > 1 endpoint for BEA (0 stable, 1 beta), 5 credits each. Category: Government & public data. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Page: https://onekey.dev/platforms/bea Reference (Markdown): https://onekey.dev/docs/api/bea.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 1 mapped BEA endpoints return each: - `entity.description` (string): 1 - `entity.id` (string): 1 ## Endpoints ### bea.datasets BEA (US economic accounts) list of available datasets. - Price: 5 credits per fresh call. Status: beta. Returns: a list. - Request: `GET https://api.onekey.dev/v1/bea/datasets` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `entity.id`, `entity.description` - Reference: https://onekey.dev/docs/api/bea/datasets.md ## Sample request ```bash curl "https://api.onekey.dev/v1/bea/datasets" \ -H "x-api-key: YOUR_API_KEY" ```