Economy Consumer Spend API
API 한 번의 호출로 Economy Consumer Spend 데이터를 받아 가세요. Returns annual household final consumption expenditure per country and spending category, from Eurostat, the statistical office of the European Union. Categories are the thirteen top-level COICOP 2018 divisions (food, housing, transport, restaurants_hotels, insurance_financial and so on) plus `total`. Pick a unit: `eur_millions` for the size of the market, `eur_per_capita` to compare countries of different size, or `share_of_total` for the percentage of all household spending. Results come back as `data.series[]`, one per country and category, each with `points[]` of `{ year, value }`. A year Eurostat has not published for a country is `null`, never 0, and the latest years are often provisional. Covers EU and EEA countries and some candidates; the latest published year differs by country, so recent years can be `null` for some of them. Norway, the United Kingdom, Iceland, Albania, North Macedonia and Kosovo come from Eurostat's older COICOP 1999 dataset, the only one that still carries them: there `miscellaneous` also includes insurance and financial services, `insurance_financial` is `null`, and the United Kingdom stops at 2019. `country_code` takes ISO codes (`GR` for Greece, `GB` for the United Kingdom, `EU27` for the union) and Eurostat's own `EL` and `UK` spellings. The response also carries `dataset` (id, label, last update), `unit` and a `source_note`.
2026년 10월 업데이트SocialCrawl 팀이 직접 관리해요
국가와 지출 항목별 연간 가계 소비 지출을 유로 백만 단위, 1인당 금액, 전체 대비 비중 중에서 골라 돌려줍니다.
국가별로 특정 품목에 쓰는 돈을 비교하거나 한 나라의 소비 구성이 해마다 어떻게 달라지는지 볼 때 사용합니다.
68개 플랫폼을 병렬로 검색합니다
Consumer Spend API로 무엇을 할 수 있을까요
Consumer Spend 엔드포인트가 통합 스키마와 계산 필드를 담은 Economy 데이터를 한 번의 요청으로 보내드려요. 스크래핑 인프라를 직접 만들거나 유지할 필요가 없어요.
요청 예시
curl -H "x-api-key: YOUR_API_KEY" \
"https://www.socialcrawl.dev/v1/economy/consumer-spend?country_code=DE%2CFR&category=transport%2Cfood&from_year=2020&to_year=2024&unit=eur_millions"import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/economy/consumer-spend",
params={
'country_code': 'DE,FR',
'category': 'transport,food',
'from_year': '2020',
'to_year': '2024',
'unit': 'eur_millions',
},
headers={"x-api-key": "YOUR_API_KEY"},
)
data = response.json()const response = await fetch(
"https://www.socialcrawl.dev/v1/economy/consumer-spend?country_code=DE%2CFR&category=transport%2Cfood&from_year=2020&to_year=2024&unit=eur_millions",
{
headers: { "x-api-key": "YOUR_API_KEY" },
},
);
const data = await response.json();파라미터
| 파라미터 | 필수 | 설명 |
|---|---|---|
| country_code | 예 | One or more ISO 3166-1 alpha-2 country codes, comma-separated (up to 10), e.g. `DE,FR,GR`. `EU27` returns the European Union total. |
| category | 아니오 | Spending categories, comma-separated. Any of total, food, alcohol_tobacco, clothing, housing, furnishings, health, transport, communication, recreation, education, restaurants_hotels, insurance_financial, miscellaneous. Defaults to all fourteen. |
| from_year | 아니오 | First year to return. Defaults to five years before the current year. |
| to_year | 아니오 | Last year to return. Defaults to the latest year Eurostat has. |
| unit | 아니오 | `eur_millions` (current prices, million euro, the default), `eur_per_capita` (current prices, euro per person) or `share_of_total` (percentage of total household spending). (eur_millions | eur_per_capita | share_of_total) |
Economy Consumer Spend API는 무엇을 돌려주나요
모든 응답은 하나의 통합 스키마를 따라요. 크레딧을 쓰기 전에 어떤 필드가 돌아오는지, 실제 응답 본문 그대로 확인해 보세요.
응답 예시 보기
{
"success": true,
"platform": "economy",
"endpoint": "/v1/economy/consumer-spend",
"data": {
"dataset": {
"id": "nama_10_co3_p3",
"label": "Household final consumption expenditure by purpose (COICOP 1999)",
"updated": "2026-10-03T09:00:00.000Z"
},
"unit": {
"code": "eur_millions",
"label": "Current prices, million euro"
},
"series": [
{
"country": "DE",
"country_name": "Germany",
"category": "transport",
"category_label": "Transport",
"points": [
{
"year": 2020,
"value": 212906
},
{
"year": 2021,
"value": 224030
}
]
},
{
"country": "DE",
"country_name": "Germany",
"category": "food",
"category_label": "Food and non-alcoholic beverages",
"points": [
{
"year": 2020,
"value": 194450
},
{
"year": 2021,
"value": 200574
}
]
}
],
"source_note": "Eurostat, the statistical office of the European Union, dataset nama_10_co3_p3. Eurostat permits free reuse with attribution. A null value means Eurostat has not published that year for that country; the latest years are often provisional. Figures are household final consumption expenditure by purpose (COICOP), on a national-accounts basis."
},
"credits_used": 1,
"request_id": "req_example000000",
"cached": false,
"credits_remaining": 9999,
"source": "captured",
"captured_at": "2026-10-03T18:35:25.402Z",
"redacted": true
}통합 응답 구조를 보여 주는 실제 샘플이에요. 필드 값은 조회한 대상에 따라 달라져요.
Economy Consumer Spend API는 어떻게 동작하나요
API 키와 함께 GET 요청을 보내면, 통합 스키마와 계산 필드를 담은 깔끔한 JSON이 돌아와요.
메서드
GET
응답 형식
JSON
소셜 미디어 데이터를 몇 초 만에 수집하는 방법
개발자를 위한 가장 빠른 소셜 미디어 스크래핑 API. 월간 활성 사용자 100억 명 이상을 포괄하는 68개 플랫폼에서 프로필, 게시물, 댓글, 분석 데이터를 수집하세요.
모든 플랫폼을 하나의 스키마로
동일한 응답 구조로 68개 플랫폼을 조회하세요. 연동은 한 번이면 충분합니다.
단순 수집을 넘어 계산된 필드 제공
엔드포인트가 해당 지표를 지원하고 계산에 필요한 원본 값이 있을 때, 정규화된 레코드에 engagement_rate, estimated_reach, content_category, language를 함께 담아 바로 활용할 수 있습니다.
코드 한 줄 쓰기 전에, 데이터부터
Visual Data Explorer에 URL만 붙여넣으면 결과 카드와 정형화된 테이블, CSV 내보내기를 바로 사용할 수 있습니다.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}자주 묻는 질문
API, 요금제, 기능에 대한 질문과 답변입니다.
문의하기국가별 가계 지출을 API로 어떻게 받나요?
어떤 지출 분류를 받을 수 있나요?
결과 예시를 볼 수 있나요?
규모가 다른 나라끼리 비교하려면 어떻게 하나요?
왜 0이 아니라 null이 오나요?
호출 한 번에 요금이 얼마인가요?
AI에게 SocialCrawl을 물어보세요
Economy Consumer Spend 데이터, 가져올 준비 되셨어요?
API 키 받고 60초 안에 Economy 데이터를 받아 가세요.
