get_south_african_retail_trade_sales
statssa.gov.zaReturns the full monthly South African retail trade sales series at constant 2019 prices, including R million values and year-over-year changes, from https://www.statssa.gov.za. Defaults to publication P6242.1 series con_act from January 2002 through the latest release.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is get_south_african_retail_trade_sales?
Returns the full monthly South African retail trade sales series at constant 2019 prices, including R million values and year-over-year changes, from https://www.statssa.gov.za. Defaults to publication P6242.1 series con_act from January 2002 through the latest release. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass start_period, end_period and get the result back without maintaining a scraper.
Response
{
"unit": "<string>",
"title": "<string>",
"category": "<string>",
"frequency": "<string>",
"price_basis": "<string>",
"publication": "<string>",
"series_code": "<string>",
"observations": [
{
"year": 0,
"month": 0,
"period": "<string>",
"value_r_million": 0,
"year_over_year_percent_change": 0
}
],
"estimate_type": "<string>",
"release_period": "<string>",
"observation_count": 0,
"available_end_period": "<string>",
"available_start_period": "<string>"
}Call it
curl --location 'https://us-prod.notte.cc/functions/700b2fcc-8227-47d0-a733-f981fd4f5a23/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "700b2fcc-8227-47d0-a733-f981fd4f5a23",
"variables": {
"start_period": "2002-01",
"end_period": "latest"
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="700b2fcc-8227-47d0-a733-f981fd4f5a23") — the "get_south_african_retail_trade_sales" function, which returns the full monthly South African retail trade sales series at constant 2019 prices, including R million values and year-over-year changes, from https://www.statssa.gov.za. Defaults to publication P6242.1 series con_act from January 2002 through the latest release.. It takes start_period (str), end_period (str). Return the result as structured JSON.