get_bond_spread
mercati.ilsole24ore.comReturns the current government bond spread record, including latest value, absolute and percentage changes, previous close, daily high and low, and year-to-date performance. Reads live market data from https://mercati.ilsole24ore.com.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is get_bond_spread?
Returns the current government bond spread record, including latest value, absolute and percentage changes, previous close, daily high and low, and year-to-date performance. Reads live market data from https://mercati.ilsole24ore.com. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass instrument and get the result back without maintaining a scraper.
Response
{
"name": "<string>",
"ticker": "<string>",
"instrument": "<string>",
"ultimo_spread": 0,
"minimo_giornaliero": 0,
"chiusura_precedente": 0,
"massimo_giornaliero": 0,
"variazione_assoluta": 0,
"variazione_percentuale": 0,
"variazione_inizio_anno_percentuale": 0
}Call it
curl --location 'https://us-prod.notte.cc/functions/f6edc6b3-1135-4785-add0-68d8081bfe7b/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "f6edc6b3-1135-4785-add0-68d8081bfe7b",
"variables": {
"instrument": "btp-10a-bund-10a"
}
}'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="f6edc6b3-1135-4785-add0-68d8081bfe7b") — the "get_bond_spread" function, which returns the current government bond spread record, including latest value, absolute and percentage changes, previous close, daily high and low, and year-to-date performance. Reads live market data from https://mercati.ilsole24ore.com.. It takes instrument (str). Return the result as structured JSON.