Base URL
Authentication
Send your API key as the HTTP Basic Auth username, with an empty password.apiKey query parameter.
Plans
API access is available on every plan, including Free and Explorer. Catalog access and download volume depend on your plan. Creating datasets requires a plan that lets you create assets. See pricing.Request format
Send JSON bodies withContent-Type: application/json. Data uploads use multipart/form-data. The request body limit is 80 MB.
Query parameters that start with $
Some parameters start with$, such as $format. In a shell, put the URL in single quotes so the shell does not expand them.
Export formats
Download data accepts these$format values:
Pagination
Retrying requests
Do not retry aPOST or an upload blindly. If you lose the response, first check whether the request succeeded. Repository names are unique within an account, and dataset names within a repository, so repeating a successful create returns 409.
Provider rate limits
External data providers have their own limits. When you reach one, a provider endpoint can return429. For some providers you can save your own provider key. Without your own key, BLS allows 25 requests per day.
Resource groups
Repositories
List, create, and delete repositories.
Datasets
Manage datasets, upload data, and download it.
Data providers
Browse, search, and fetch external series.