News API · Spain
Spain news API for AI agents.
Search the press of Spain from our own index, in Spanish: every result with its source, publication time and a calibrated probability that it answers your query. One filter keeps it local: countries: ["ES"].
From $1.00 per 1,000 searches · $5 free credit, no card
1
language: Spanish
5 min
refresh of the busiest sources
30
days of news, on a rolling window
We don’t publish the list of sources: every result shows its own, with its country and language, and links to the original. Missing an outlet? Suggest it from the dashboard (Suggest a source) or write to support@typesearch.ai.
One filter
Only Spain, in one parameter.
countries keeps the sources based in a country; languages, the ones that publish in a language. Together they return the local press in the language it was written in. The example asks for house prices, in the words a local outlet would use.
- countries
- Where the outlet is based, as ISO 3166-1 alpha-2 codes: ["ES"]. Up to 50 per request.
- languages
- What it publishes in, as ISO 639-1 codes: ["es"]. A tag such as pt-BR counts as pt.
- days · published_after
- How fresh: the last N days, or since a date.
- mode
- ultra, fast, normal or deep: how much we read before we rank.
curl https://api.typesearch.ai/v1/search \-H "Authorization: Bearer $TYPESEARCH_API_KEY" \-H "Content-Type: application/json" \-d '{"query": "precio de la vivienda","countries": ["ES"],"languages": ["es"],"mode": "fast","days": 7,"max_results": 10}'
What we cover in Spain, and what we don’t.
Outlets based in Spain that publish in Spanish, and more every week. We don’t publish the list: every result shows its source and links to the original. Missing an outlet? Suggest it from the dashboard (Suggest a source) or write to support@typesearch.ai.
Every result carries its country and language, so your agent can check the filter did its job. A multi-query request can ask the same thing in several languages, up to five queries judged together.
Our index keeps a rolling 30 days: it’s built for what happened recently, not for years of archives. For historical research, an archive API fits better.
Pay per search, by how much it reads.
Filters don’t cost extra: a search in Spain costs the same as any other. No monthly minimum and no seats; cached repeats within 10 minutes and failed requests are free.
Every new account gets $5 in free credit, valid for 30 days: about 5,000 ultra searches or 3,571 fast ones.
- ultraHeadlines only. The cheapest way to classify at volume.$1.00/ 1k searches
- fastHeadlines and standfirsts. The default for agents in a loop.$1.40/ 1k searches
- normalReads the top 4 results before ranking them.$2.20/ 1k searches
- deepWidens the topic, reads 8, adds highlights and essentials.$5.60/ 1k searches
Spain news API questions
Which Spain news sources do you cover?
Outlets based in Spain that publish in Spanish. We don’t publish the list: every result shows its source and links to the original, and countries: ["ES"] keeps only them. Missing an outlet? Suggest it from the dashboard (Suggest a source) or write to support@typesearch.ai.
How do I get only news from Spain?
Send countries: ["ES"]. It keeps the sources based in Spain; add languages: ["es"] to keep only the ones that publish in Spanish. Each result says its country and language.
In which language should I write the query?
In the language the coverage is written in, the way a local outlet would phrase it: the example searches “precio de la vivienda”. To cover a story in several languages, send one query per language in the same request, up to five.
How fresh is it?
We re-read each source’s news sitemap and feeds on a schedule set by how often it publishes: the busiest every 5 minutes. Every result has its publication time; filter with days or published_after to keep only the latest.
What does it cost?
The same as any search, with or without filters: $1.00 per 1,000 in ultra mode, $1.40 in fast, $2.20 in normal and $5.60 in deep. New accounts get $5 in credit, valid for 30 days, with no card.
Can my AI agent search Spain news?
Yes. Connect the MCP server (https://api.typesearch.ai/mcp) and its search_news tool takes countries and languages too, or call the HTTP API as a tool from LangChain, the Vercel AI SDK or n8n.
Keep exploring
The Spain news, in your agent’s context.
Get a key in a minute, with $5 in free credit. One request with countries: ["ES"], and the results are in.