Sign inTry it

Buscar destinos en Spain.info.

Searches the official Spain tourism site spain.info like its general search page (German edition): result title, category and place, short text and link. Covers destinations, beaches, regions, practical information. First results page only.

No reports yetRead-only, no login
Site
Spain.info, Spain
Version
v1
Runs, last 7 days
No reports yet
sha256
76d477876f8e…

Run it with your agent

after installing Wield

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

“Buscar destinos en Spain.info.”

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

{
  "tool": "run",
  "arguments": {
    "recipe_id": "spain.info/search-trips",
    "params": {
      "query": "Andalucía"
    }
  }
}

Requests

sent from your browser, in order
  1. 1GET/de/suchergebnisse/?qServer-rendered general search page /de/suchergebnisse/?q=…; read-only GET. Each result is a.wrapper-article with its title in h2.title, category and place in .wrapper-subtitle and teaser text in p.text.

Parameters

from your agent
querystringrequiredDestination or topic, e.g. 'Andalucía', 'Camino de Santiago', 'Islas Canarias'

Returns

to your agent
querystring
resultsobject[]category, teaser, title, url

Where it can send

  • www.spain.info

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.results) > `0`
  • length(output.results[?starts_with(url, 'https://www.spain.info/')]) == length(output.results)
  • length(output.results[?title != `null`]) == length(output.results)

Raw recipe

Served as canonical JSON from /api/v1/recipes/spain.info/search-trips, so its sha256 matches the ETag and the index.

Check it yourself
curl -s https://wield.run/api/v1/recipes/spain.info/search-trips | shasum -a 256
# 76d477876f8e7fb8fcebabd7df32dd4575b8e8fbb308eedd282df902bd9b8710
spain.info/search-trips.json, v1
{
  "description": "Searches the official Spain tourism site spain.info like its general search page (German edition): result title, category and place, short text and link. Covers destinations, beaches, regions, practical information. First results page only.",
  "effect": "read",
  "id": "spain.info/search-trips",
  "keywords": [
    "spain.info",
    "spanien",
    "españa",
    "andalucía",
    "reiseziele",
    "reise",
    "urlaub",
    "destinos",
    "tourismus",
    "travel",
    "spain",
    "tourism",
    "canarias",
    "reiseführer"
  ],
  "output": {
    "schema": {
      "properties": {
        "query": {
          "type": "string"
        },
        "results": {
          "items": {
            "properties": {
              "category": {
                "description": "Topic and place as shown, e.g. 'Küsten und Strände | Marbella'",
                "type": [
                  "string",
                  "null"
                ]
              },
              "teaser": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            },
            "required": [
              "title",
              "url"
            ],
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "query",
        "results"
      ],
      "type": "object"
    },
    "value": "{query: params.query, results: steps.search.results[?title != `null` && href != `null`].{title: title, category: category || `null`, teaser: teaser || `null`, url: (starts_with(href, 'http') && href) || join('', ['https://www.spain.info', href])}}"
  },
  "params": {
    "additionalProperties": false,
    "properties": {
      "query": {
        "description": "Destination or topic, e.g. 'Andalucía', 'Camino de Santiago', 'Islas Canarias'",
        "maxLength": 100,
        "minLength": 2,
        "type": "string"
      }
    },
    "required": [
      "query"
    ],
    "type": "object"
  },
  "provenance": {
    "method": "har",
    "notes": "GET /de/suchergebnisse/?q=<query> returns 200 HTML with 12 result articles, each a.wrapper-article with an absolute-path href, h2.title, .wrapper-subtitle and p.text. The page is the German edition of the site; the query text can be in any language. No cross-site hosts are called.",
    "recorded_at": "2026-11-08T13:00:00.000Z",
    "recorded_by": "wield-forge (claude-haiku agent)"
  },
  "requires_login": false,
  "schema": "https://wield.run/schema/recipe/v1.json",
  "site": {
    "country": "ES",
    "id": "spain.info",
    "language": "de",
    "name": "Spain.info",
    "origin": "https://www.spain.info",
    "origins": [
      "https://www.spain.info"
    ]
  },
  "steps": [
    {
      "description": "Server-rendered general search page /de/suchergebnisse/?q=…; read-only GET. Each result is a.wrapper-article with its title in h2.title, category and place in .wrapper-subtitle and teaser text in p.text.",
      "expect": {
        "content_type": "html",
        "status": [
          200
        ]
      },
      "extract": {
        "html_items": {
          "results": {
            "fields": {
              "category": {
                "selector": ".wrapper-subtitle"
              },
              "href": {
                "attr": "href",
                "selector": ":scope"
              },
              "teaser": {
                "selector": "p.text"
              },
              "title": {
                "selector": "h2.title"
              }
            },
            "max": 30,
            "selector": "a.wrapper-article"
          }
        }
      },
      "id": "search",
      "request": {
        "headers": {
          "Accept": "text/html"
        },
        "method": "GET",
        "query": {
          "q": "{{params.query}}"
        },
        "url": "/de/suchergebnisse/"
      }
    }
  ],
  "task": "Buscar destinos en Spain.info",
  "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.results) > `0`",
      "length(output.results[?starts_with(url, 'https://www.spain.info/')]) == length(output.results)",
      "length(output.results[?title != `null`]) == length(output.results)"
    ],
    "example_params": {
      "query": "Andalucía"
    },
    "max_ms": 5000
  },
  "version": 1
}