{"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}