Marketplace
No threads yet
Live

get_solidity_doc_page

soliditylang.org

Fetches one Solidity documentation page by version and slug from https://soliditylang.org. Returns cleaned page HTML, the original RST source, and structured headings with anchors.

Parameters2
Runs10
Updated10d ago
Operational10 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_solidity_doc_page?

Fetches one Solidity documentation page by version and slug from https://soliditylang.org. Returns cleaned page HTML, the original RST source, and structured headings with anchors. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass doc_version, slug and get the result back without maintaining a scraper.

Response

{
  "url": "<string>",
  "slug": "<string>",
  "title": "<string>",
  "version": "<string>",
  "headings": [
    {
      "level": 0,
      "title": "<string>",
      "anchor": "<string>"
    }
  ],
  "rst_source": "<string>",
  "source_url": "<string>",
  "content_html": "<string>"
}

Call it

curl --location 'https://us-prod.notte.cc/functions/bb8c8ce1-d4cf-4d6a-bb76-b7532f759483/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "bb8c8ce1-d4cf-4d6a-bb76-b7532f759483",
    "variables": {
        "doc_version": "latest",
        "slug": "introduction-to-smart-contracts"
    }
}'

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="bb8c8ce1-d4cf-4d6a-bb76-b7532f759483") — the "get_solidity_doc_page" function, which fetches one Solidity documentation page by version and slug from https://soliditylang.org. Returns cleaned page HTML, the original RST source, and structured headings with anchors..

It takes doc_version (str), slug (str). Return the result as structured JSON.