Stooq · Example Payload

Stooq Bitcoin Weekly Ohlcv Example

Example: Fetch weekly OHLCV data for Bitcoin (BTC/USD) for Q4 2023.

FintechMarket DataStocksIndicesCurrencyCryptoCommoditiesHistorical DataFree

Stooq Bitcoin Weekly Ohlcv Example is an example object payload from Stooq, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

descriptionrequestresponsenotes

Example Payload

Raw ↑
{
  "description": "Example: Fetch weekly OHLCV data for Bitcoin (BTC/USD) for Q4 2023.",
  "request": {
    "method": "GET",
    "url": "https://stooq.com/q/d/l/?s=btc.v&d1=20231001&d2=20231231&i=w&apikey=your_api_key_here"
  },
  "response": {
    "status": 200,
    "contentType": "text/csv",
    "body": "Date,Open,High,Low,Close,Volume\n2023-12-29,42258.32,44694.17,41950.10,42265.00,0\n2023-12-22,43738.07,44490.00,40563.77,42258.32,0\n2023-12-15,41468.69,43928.00,40533.00,43738.07,0\n2023-12-08,43761.00,44491.45,40527.10,41468.69,0\n"
  },
  "notes": "Cryptocurrency data uses the .v suffix. Volume is often 0 for crypto pairs on Stooq. Weekly intervals aggregate from Monday to Friday."
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/stooq-bitcoin-weekly-ohlcv-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.