Sign inTry it

Search the Treccani Italian encyclopedia and dictionaries.

Searches Treccani, the Italian encyclopedia and dictionary portal, like its results page: entry title, section (e.g. Enciclopedia, Dizionario), short description or abstract, year and the link to the entry. First results page only (about 10 entries). Returns an empty list when nothing matches.

No reports yetRead-only, no login
Site
Treccani, Italy
Version
v1
Runs, last 7 days
No reports yet
sha256
19d7ba0802c7…

Run it with your agent

after installing Wield

Ask in plain words. Your agent finds this recipe and calls it:

“Search the Treccani Italian encyclopedia and dictionaries.”

Read-only: it changes nothing on the site. No login needed.

{
  "tool": "run",
  "arguments": {
    "recipe_id": "treccani.it/search-articles",
    "params": {
      "query": "dante"
    }
  }
}

Requests

sent from your browser, in order
  1. 1GET/enciclopedia/ricerca/{{ params.query | urlencode }}/Treccani search results page /enciclopedia/ricerca/<query>/, read-only GET. The results are in the page's __NEXT_DATA__ as props.pageProps.data.matches.

Parameters

from your agent
querystringrequiredA person, place, topic or word, e.g. 'dante', 'rinascimento', 'vulcano'

Returns

to your agent
entriesobject[]description, section, title, url, year
querystring

Where it can send

  • www.treccani.it

Anything else is blocked by the extension.

Reads from your session

Nothing. Your browser attaches the site's cookies by itself.

Used only in requests to the addresses on the left. Never sent to wield.run or your agent.

Checks

a run passes when
  • length(output.entries) > `0`
  • length(output.entries[?starts_with(url, 'https://www.treccani.it/')]) == length(output.entries)
  • length(output.entries[?title != `null`]) == length(output.entries)

Raw recipe

Served as canonical JSON from /api/v1/recipes/treccani.it/search-articles, so its sha256 matches the ETag and the index.

Check it yourself
curl -s https://wield.run/api/v1/recipes/treccani.it/search-articles | shasum -a 256
# 19d7ba0802c7c5f2c7954727b0c5f29a2ddd0968b374fc77928444c5845f598d
treccani.it/search-articles.json, v1
{
  "description": "Searches Treccani, the Italian encyclopedia and dictionary portal, like its results page: entry title, section (e.g. Enciclopedia, Dizionario), short description or abstract, year and the link to the entry. First results page only (about 10 entries). Returns an empty list when nothing matches.",
  "effect": "read",
  "id": "treccani.it/search-articles",
  "keywords": [
    "treccani",
    "enciclopedia",
    "enciclopedia italiana",
    "dizionario",
    "vocabolario",
    "lemmi",
    "cultura italiana",
    "italiano",
    "encyclopedia",
    "italian encyclopedia",
    "italian dictionary",
    "italy"
  ],
  "output": {
    "schema": {
      "properties": {
        "entries": {
          "items": {
            "properties": {
              "description": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "section": {
                "description": "Treccani section, e.g. Enciclopedia, Dizionario",
                "type": [
                  "string",
                  "null"
                ]
              },
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "year": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "title",
              "url"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "query": {
          "type": "string"
        }
      },
      "required": [
        "query",
        "entries"
      ],
      "type": "object"
    },
    "value": "let $q = params.query in {query: $q, entries: (steps.search.matches || `[]`)[?title && url].{title: title, section: section || `null`, description: (description || abstract) || `null`, year: year || `null`, url: (starts_with(url, 'http') && url) || join('', ['https://www.treccani.it', url])}}"
  },
  "params": {
    "additionalProperties": false,
    "properties": {
      "query": {
        "description": "A person, place, topic or word, e.g. 'dante', 'rinascimento', 'vulcano'",
        "maxLength": 100,
        "minLength": 2,
        "type": "string"
      }
    },
    "required": [
      "query"
    ],
    "type": "object"
  },
  "provenance": {
    "method": "har",
    "notes": "GET /enciclopedia/ricerca/<query>/, the site's own search results page. Its Next.js page data (script#__NEXT_DATA__, props.pageProps.data.matches) lists the matching entries with title, section, description or abstract, year and url. The homepage search box is a client-side form and the query is taken from the URL path.",
    "recorded_at": "2026-11-08T16:02:00.000Z",
    "recorded_by": "wield-forge (claude-haiku agent)"
  },
  "requires_login": false,
  "schema": "https://wield.run/schema/recipe/v1.json",
  "site": {
    "country": "IT",
    "id": "treccani.it",
    "language": "it",
    "name": "Treccani",
    "origin": "https://www.treccani.it",
    "origins": [
      "https://www.treccani.it"
    ]
  },
  "steps": [
    {
      "description": "Treccani search results page /enciclopedia/ricerca/<query>/, read-only GET. The results are in the page's __NEXT_DATA__ as props.pageProps.data.matches.",
      "expect": {
        "content_type": "html",
        "status": [
          200
        ]
      },
      "extract": {
        "embedded_json": {
          "required": true,
          "selector": "script#__NEXT_DATA__",
          "vars": {
            "matches": "props.pageProps.data.matches"
          }
        }
      },
      "id": "search",
      "request": {
        "headers": {
          "Accept": "text/html"
        },
        "method": "GET",
        "url": "/enciclopedia/ricerca/{{ params.query | urlencode }}/"
      }
    }
  ],
  "task": "Search the Treccani Italian encyclopedia and dictionaries",
  "tos": {
    "notes": "Not reviewed. One search page per call, the same page a visitor loads. The site's terms on automated access were not checked.",
    "reviewed": false
  },
  "verify": {
    "checks": [
      "length(output.entries) > `0`",
      "length(output.entries[?starts_with(url, 'https://www.treccani.it/')]) == length(output.entries)",
      "length(output.entries[?title != `null`]) == length(output.entries)"
    ],
    "example_params": {
      "query": "dante"
    },
    "max_ms": 8000
  },
  "version": 1
}