Marketplace
No threads yet
Live

list_database_years

austlii.edu.au

Lists every available year for a selected legal database on https://austlii.edu.au, using the reusable path returned by list_legal_databases and returning each year's label and URL.

Parameters1
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 list_database_years?

Lists every available year for a selected legal database on https://austlii.edu.au, using the reusable path returned by list_legal_databases and returning each year's label and URL. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass path and get the result back without maintaining a scraper.

Response

{
  "years": [
    {
      "url": "<string>",
      "year": 0,
      "label": "<string>"
    }
  ],
  "source_url": "<string>",
  "total_years": 0,
  "database_name": "<string>",
  "database_path": "<string>"
}

Call it

curl --location 'https://us-prod.notte.cc/functions/6426380d-9473-4369-a036-2907c20439cd/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "6426380d-9473-4369-a036-2907c20439cd",
    "variables": {
        "path": "au/cases/cth/HCA"
    }
}'

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="6426380d-9473-4369-a036-2907c20439cd") — the "list_database_years" function, which lists every available year for a selected legal database on https://austlii.edu.au, using the reusable path returned by list_legal_databases and returning each year's label and URL..

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