category_idintegerobligatoire
The id for a category. integer, required
https://api.sandbase.ai/v1/api/fred/category-seriesGet Category Series from FRED. Returns the official FRED API response unchanged.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
Returns the list of FRED data series that belong to one FRED category. It needs a category_id and returns each series with its title, units, frequency, seasonal adjustment and observation date range.
frequency or seasonal_adjustment to find only monthly, seasonally adjusted series.popularity to find the most used series first.observation_end dates before you build on them.curl -X POST "https://api.sandbase.ai/v1/api/fred/category-series" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"category_id": 125, "file_type": "json"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
category_id | integer | Yes | The id for a category. integer, required |
exclude_tag_names | string | No | A semicolon delimited list of tag names that series match none of. String, optional, no filtering by tags by default. Example value: 'discontinued;annual'. Filter results to series having neither tag 'discontinued' nor t |
file_type | string | No | Response format. Only json is supported. |
filter_value | string | No | The value of the filter_variable attribute to filter results by. String, optional, no filter by default |
filter_variable | string | No | The attribute to filter results by. On of the following strings: 'frequency', 'units', 'seasonal_adjustment'. optional, no filter by default |
limit | integer | No | The maximum number of results to return. integer between 1 and 1000, optional, default: 1000 |
offset | integer | No | non-negative integer, optional, default: 0 |
order_by | string | No | Order results by values of the specified attribute. One of the following strings: 'series_id', 'title', 'units', 'frequency', 'seasonal_adjustment', 'realtime_start', 'realtime_end', 'last_updated', 'observation_start', |
realtime_end | string | No | The end of the real-time period. For more information, see Real-Time Periods . YYYY-MM-DD formatted string, optional, default: today's date |
realtime_start | string | No | The start of the real-time period. For more information, see Real-Time Periods . YYYY-MM-DD formatted string, optional, default: today's date |
sort_order | string | No | Sort results is ascending or descending order for attribute values specified by order_by. One of the following strings: 'asc', ' desc '. optional, default: asc |
tag_names | string | No | A semicolon delimited list of tag names that series match all of. String, optional, no filtering by tags by default Example value: 'income;bea'. Filter results to series having both tags 'income' and 'bea'. See the relat |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"count": 47,
"limit": 1000,
"offset": 0,
"order_by": "series_id",
"realtime_end": "2026-11-03",
"realtime_start": "2026-11-03",
"seriess": [
{
"frequency": "Monthly",
"frequency_short": "M",
"group_popularity": 26,
"id": "AITGCBN",
"last_updated": "2026-10-28 07:32:37-05",
"notes": "This advance estimate represents the current month statistics of nearly complete…",
"observation_end": "2026-09-01",
"observation_start": "2026-09-01",
"popularity": 6,
"realtime_end": "2026-11-03",
"realtime_start": "2026-11-03",
"seasonal_adjustment": "Not Seasonally Adjusted"
}
],
"sort_order": "asc"
}
| Field | Meaning |
|---|---|
count | Total number of series in the category that match the request. Use it with limit and offset to page through results. |
limit / offset / order_by / sort_order | Echo of the paging and sorting settings applied to this response. |
realtime_start / realtime_end | Real-time period used for the request, as YYYY-MM-DD dates. Each series entry repeats them. |
seriess[].id | FRED series ID, such as AITGCBN. Pass it to other series APIs. |
seriess[].title | Human readable name of the series. |
seriess[].frequency / seriess[].frequency_short | How often the series is observed, as a full word (Monthly) and a short code (M). |
seriess[].units / seriess[].units_short | Units of the series values, in long and short form, such as Millions of Dollars and Mil. of $. |
seriess[].seasonal_adjustment / seasonal_adjustment_short | Whether the series is seasonally adjusted, in long and short form (SA, NSA). |
seriess[].observation_start / seriess[].observation_end | First and last observation dates of the series, formatted YYYY-MM-DD. |
seriess[].popularity / seriess[].group_popularity | Popularity scores for the series and for its group of related series. Higher numbers are more popular. |
seriess in the response.limit defaults to 1000 and offset defaults to 0. Raise offset to read further pages when count is larger than limit.last_updated uses the format YYYY-MM-DD HH:MM:SS followed by a UTC offset. The notes field appears only on some series.id. To browse subcategories, use FRED Get Category Children.$0.00001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
curl -X POST "https://api.sandbase.ai/v1/api/fred/category-series" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 1000,
"offset": 0,
"order_by": "series_id",
"file_type": "json",
"sort_order": "asc",
"category_id": 125
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
category_idintegerobligatoireThe id for a category. integer, required
exclude_tag_namesstringA semicolon delimited list of tag names that series match none of. String, optional, no filtering by tags by default. Example value: 'discontinued;annual'. Filter results to series having neither tag 'discontinued' nor tag 'annual'. Parameter exclude_tag_names requires that parameter tag_names also
file_typestringResponse format. Only json is supported.
Par défaut : "json"
Valeurs possibles : json
filter_valuestringThe value of the filter_variable attribute to filter results by. String, optional, no filter by default
filter_variablestringThe attribute to filter results by. On of the following strings: 'frequency', 'units', 'seasonal_adjustment'. optional, no filter by default
Valeurs possibles : frequency, units, seasonal_adjustment
limitintegerThe maximum number of results to return. integer between 1 and 1000, optional, default: 1000
Par défaut : 1000
offsetintegernon-negative integer, optional, default: 0
Par défaut : 0
order_bystringOrder results by values of the specified attribute. One of the following strings: 'series_id', 'title', 'units', 'frequency', 'seasonal_adjustment', 'realtime_start', 'realtime_end', 'last_updated', 'observation_start', 'observation_end', 'popularity', 'group_popularity'. optional, default: series_i
Par défaut : "series_id"
Valeurs possibles : series_id, title, units, frequency, seasonal_adjustment, realtime_start, realtime_end, last_updated, observation_start, observation_end, popularity, group_popularity
realtime_endstringThe end of the real-time period. For more information, see Real-Time Periods . YYYY-MM-DD formatted string, optional, default: today's date
realtime_startstringThe start of the real-time period. For more information, see Real-Time Periods . YYYY-MM-DD formatted string, optional, default: today's date
sort_orderstringSort results is ascending or descending order for attribute values specified by order_by. One of the following strings: 'asc', ' desc '. optional, default: asc
Par défaut : "asc"
Valeurs possibles : asc, desc
tag_namesstringA semicolon delimited list of tag names that series match all of. String, optional, no filtering by tags by default Example value: 'income;bea'. Filter results to series having both tags 'income' and 'bea'. See the related request fred/tags .
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
FRED Get Category SeriesCette API FRED | $0.00001 par appel | JSON |
FRED | $0.00001 par appel | JSON |
FRED | $0.00001 par appel | JSON |
FRED | $0.00001 par appel | JSON |
FRED | $0.00001 par appel | JSON |
FRED | $0.00001 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/fred/category-series avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.00001 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : category_id (integer). Facultatif : exclude_tag_names (string), file_type (l’un de json), filter_value (string), filter_variable (l’un de frequency, units, seasonal_adjustment), limit (integer) et offset (integer) et 5 de plus. Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. FRED Get Category Series fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API FRED séparément.