series_idstringobligatoire
The id for a series. string, required
https://api.sandbase.ai/v1/api/fred/seriesGet 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 metadata for one FRED economic data series, such as its title, units, frequency and date range. It needs a series_id, for example GDP.
observation_start and observation_end dates to see how much history a series covers.seasonal_adjustment to tell adjusted series from unadjusted ones.popularity when you build a series picker.curl -X POST "https://api.sandbase.ai/v1/api/fred/series" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"series_id": "GDP"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
series_id | string | Yes | The id for a series. string, required |
file_type | string | No | Response format. Only json is supported. |
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 |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"realtime_end": "2026-10-29",
"realtime_start": "2026-10-29",
"seriess": [
{
"frequency": "Quarterly",
"frequency_short": "Q",
"id": "GDP",
"last_updated": "2026-10-29 08:03:33-05",
"notes": "BEA Account Code: A191RC\n\nGross domestic product (GDP), the featured measure of …",
"observation_end": "2026-07-01",
"observation_start": "1947-01-01",
"popularity": 92,
"realtime_end": "2026-10-29",
"realtime_start": "2026-10-29",
"seasonal_adjustment": "Seasonally Adjusted Annual Rate",
"seasonal_adjustment_short": "SAAR"
}
]
}
| Field | Meaning |
|---|---|
seriess[] | List of matching series. A request for one series_id returns one item. |
seriess[].id | The series ID, such as GDP. Use it in other FRED calls. |
seriess[].title | Full name of the series, such as Gross Domestic Product. |
seriess[].frequency / seriess[].frequency_short | How often the series reports data, as a full word (Quarterly) and a short code (Q). |
seriess[].units / seriess[].units_short | Unit of the values, in long form (Billions of Dollars) and short form (Bil. of $). |
seriess[].seasonal_adjustment / seriess[].seasonal_adjustment_short | Seasonal adjustment of the series, in long form (Seasonally Adjusted Annual Rate) and short form (SAAR). |
seriess[].observation_start / seriess[].observation_end | Dates of the first and last observation in the series, in YYYY-MM-DD format. |
seriess[].last_updated | Timestamp of the last update to the series, with a time zone offset. |
seriess[].popularity | Popularity score of the series. The value is 92 for GDP. |
seriess[].notes | Free-text description of the series, including the source account code and a definition. |
realtime_start / realtime_end | The real-time period the response applies to. Both are also repeated on each series. |
realtime_start and realtime_end in YYYY-MM-DD format to set the real-time period. Both default to today's date.series_id when you do not have one, call FRED Search Series.$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/series" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"file_type": "json",
"series_id": "GDP"
}'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.
series_idstringobligatoireThe id for a series. string, required
file_typestringResponse format. Only json is supported.
Par défaut : "json"
Valeurs possibles : json
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
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 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/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. Chaque organisation bénéficie de 100 appels gratuits par jour UTC, partagés entre les API SandBase éligibles, y compris celle-ci ; au-delà, chaque appel est facturé à ce tarif depuis votre solde SandBase. Aucun abonnement.
Obligatoire : series_id (string). Facultatif : file_type (l’un de json), realtime_end (string) et realtime_start (string). 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 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.