Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

FRED GeoFRED Series Data

API दस्तावेज़
https://api.sandbase.ai/v1/api/fred/geo-series-data

GeoFRED Series Data from FRED. Returns the official FRED API response unchanged.

मूल्य
$0.00001USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 3 वैकल्पिक

प्लेग्राउंड

इनपुट
The FRED series_id you want to request maps data for. Not all series that are in FRED have geographical data. string, required
The date you want to request series group data from. YYYY-MM-DD formatted string, optional
Response format. Only json is supported.
The start date you want to request series group data from. This allows you to pull a range of data YYYY-MM-DD formatted string, optional
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

API README

FRED GeoFRED Series Data API

Returns map data for a FRED series that has geographic values, such as per-state figures for one date. You pass a series_id like WIPCPI, and you can add date or start_date to pick the time period.

Use cases

  • Build a state-level choropleth map of per capita personal income.
  • Rank US states by a single indicator for one year.
  • Pull the regional series IDs for each state, then fetch their full histories.
  • Compare a state's value against the national spread in a dashboard.

Request

curl -X POST "https://api.sandbase.ai/v1/api/fred/geo-series-data" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"series_id": "WIPCPI", "file_type": "json"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
series_idstringYesThe FRED series_id you want to request maps data for. Not all series that are in FRED have geographical data. string, required
datestringNoThe date you want to request series group data from. YYYY-MM-DD formatted string, optional
file_typestringNoResponse format. Only json is supported.
start_datestringNoThe start date you want to request series group data from. This allows you to pull a range of data YYYY-MM-DD formatted string, optional

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "meta": {
    "data": {
      "2025-01-01": [
        {
          "code": "01",
          "region": "Alabama",
          "series_id": "ALPCPI",
          "value": 59754
        }
      ]
    },
    "frequency": "Annual",
    "region": "state",
    "seasonality": "Not Seasonally Adjusted",
    "title": "2025 Per Capita Personal Income by State (Dollars)",
    "units": "Dollars"
  }
}

Response fields

FieldMeaning
meta.titleName of the data set, including the year, the measure and the region type.
meta.unitsUnit of the values, such as Dollars.
meta.frequency / meta.seasonalityHow often the series is published (for example Annual) and whether it is seasonally adjusted.
meta.regionType of geographic region the values cover, such as state.
meta.dataObject keyed by date in YYYY-MM-DD format. Each key holds a list of regional values for that date.
meta.data.*[].regionName of the region, such as Alabama.
meta.data.*[].codeShort region code. For states it looks like a two-digit string such as 01.
meta.data.*[].series_idFRED series ID for that region's own series, such as ALPCPI.
meta.data.*[].valueValue for that region on that date, in the units given by meta.units.

Notes

  • series_id is required. Not every FRED series has geographic data.
  • Use date to request one date, or start_date to pull a range. Both use YYYY-MM-DD format.
  • Each region row has its own series_id. Pass it to FRED Get Series Observations to get that region's history.
  • To find other series that share a group, try FRED GeoFRED Series Group.

Pricing

$0.00001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
FRED$0.00001 प्रति कॉलJSON
FRED$0.00001 प्रति कॉलJSON
FRED$0.00001 प्रति कॉलJSON
FRED$0.00001 प्रति कॉलJSON
FRED$0.00001 प्रति कॉलJSON
FRED$0.00001 प्रति कॉलJSON

प्रश्न

FAQ

FRED GeoFRED Series Data API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/fred/geo-series-data पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

FRED GeoFRED Series Data API की लागत कितनी है?

$0.00001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

FRED GeoFRED Series Data API कौन-से parameters स्वीकार करती है?

आवश्यक: series_id (string)। वैकल्पिक: date (string), file_type (json में से एक) और start_date (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

FRED GeoFRED Series Data API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक FRED developer account या API key चाहिए?

नहीं। FRED GeoFRED Series Data SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से FRED API access के लिए आवेदन करने की आवश्यकता नहीं है।