Marketplace
No threads yet
Live

get_commodity_market_snapshot

agweb.com

Retrieves a real-time snapshot of major agricultural commodity futures prices from https://agweb.com via its Barchart market feed. Returns quote records with contract month, price, change, and all non-empty source fields for each commodity contract.

Parameters3
Runs9
Updated8d ago
Operational9 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is get_commodity_market_snapshot?

Retrieves a real-time snapshot of major agricultural commodity futures prices from https://agweb.com via its Barchart market feed. Returns quote records with contract month, price, change, and all non-empty source fields for each commodity contract. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass category, contracts_per_commodity, timeout_seconds and get the result back without maintaining a scraper.

Response

{
  "source": "<string>",
  "records": [
    {}
  ],
  "category": "<string>",
  "endpoint": "<string>",
  "returned_count": 0,
  "contracts_per_commodity": 0
}

Call it

curl --location 'https://us-prod.notte.cc/functions/43bab3cb-af3f-4339-bf3e-111486bcaf17/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "43bab3cb-af3f-4339-bf3e-111486bcaf17",
    "variables": {
        "category": "all",
        "contracts_per_commodity": 1,
        "timeout_seconds": 25
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="43bab3cb-af3f-4339-bf3e-111486bcaf17") — the "get_commodity_market_snapshot" function, which retrieves a real-time snapshot of major agricultural commodity futures prices from https://agweb.com via its Barchart market feed. Returns quote records with contract month, price, change, and all non-empty source fields for each commodity contract..

It takes category (str), contracts_per_commodity (int), timeout_seconds (int). Return the result as structured JSON.