History
No threads yet
Live

Fetch a page title

example.com

Published test function: run by a non-owner, billed to the caller

Parameters1
Runs2
Updated4d ago

Playground

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

What is Fetch a page title?

Published test function: run by a non-owner, billed to the caller It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass url and get the result back without maintaining a scraper.

Response

{
  "url": "<string>",
  "title": "<string>"
}

Call it

curl --location 'https://us-prod.notte.cc/functions/7d76ba95-c9ed-42f8-9d08-841fdfbbabfe/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "7d76ba95-c9ed-42f8-9d08-841fdfbbabfe",
    "variables": {
        "url": "https://example.com"
    }
}'

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="7d76ba95-c9ed-42f8-9d08-841fdfbbabfe") — the "Fetch a page title" function, which published test function: run by a non-owner, billed to the caller.

It takes url (str). Return the result as structured JSON.