APITube Help Center

How to Search News by Title

Find headline keywords, phrases and word variations

Kent Hudson

Written by Kent Hudson

June 27, 2026

Updated October 16, 2026

Open this example in the API Playground ↗

How to search news by title

Send headline keywords in title on /v1/news/everything. The value must be 2–100 characters. Multiple unquoted words must all match; use quotes when you need an exact phrase.

curl -G "https://api.apitube.io/v1/news/everything" \
  --data-urlencode "title=bitcoin" \
  --data-urlencode "api_key=YOUR_API_KEY"

Send your key through api_key or X-API-Key. This filter searches headlines rather than article bodies.

How does multi-word title search work?

Spaces and commas separate required words. title=electric vehicle and title=electric,vehicle both mean electric AND vehicle:

curl -G "https://api.apitube.io/v1/news/everything" \
  --data-urlencode "title=electric vehicle" \
  --data-urlencode "api_key=YOUR_API_KEY"

Matching ignores case. Ordinary words match as whole words, so title=ai does not match the letters inside Jamaica. Chinese and Japanese terms, very short terms and terms containing separators can use substring matching; warning ER0367 reports that broader behavior.

Does title search match synonyms and word variations?

Unquoted keywords can match known synonyms and word forms. The words remain required, but a recognized variation can satisfy a word’s condition. Common words such as “the” or “of” may not narrow the search.

Use an exact phrase, such as title="electric vehicle", to require literal wording without synonym expansion.

How to remove unwanted headlines with ignore.title

Add unwanted headline terms with ignore.title:

curl -G "https://api.apitube.io/v1/news/everything" \
  --data-urlencode "title=AI" \
  --data-urlencode "ignore.title=layoffs,job losses" \
  --data-urlencode "language.code=en" \
  --data-urlencode "api_key=YOUR_API_KEY"

It excludes articles matching any excluded term or recognized variation. Its value must be 2–100 characters; invalid length returns ER0008. For grouped alternatives and exclusions, see Boolean search.

How are title results sorted?

Newest publication dates come first by default. Use sort.by=relevance for a relevance ranking:

curl -G "https://api.apitube.io/v1/news/everything" \
  --data-urlencode "title=interest rates" \
  --data-urlencode "sort.by=relevance" \
  --data-urlencode "api_key=YOUR_API_KEY"

Check the parameter reference for other sort options.

How far back can a title search go?

Each request can cover up to 31 days of publication dates. Without dates, it searches the last 31 days and returns warning ER0366 in meta.warnings, plus x-query-window-clamped: 31.

A wider explicit window returns 400 ER0110:

# Rejected — a 90-day window with a title search returns ER0110
curl -G "https://api.apitube.io/v1/news/everything" \
  --data-urlencode "title=bitcoin" \
  --data-urlencode "published_at.start=2026-04-01" \
  --data-urlencode "published_at.end=2026-06-30" \
  --data-urlencode "api_key=YOUR_API_KEY"

This limit also applies to title prefixes, suffixes, patterns and Boolean query. It applies across plans and delivery methods.

A start date without an end runs up to now, so an old open-ended start can exceed the limit. For older reporting, set both dates:

curl -G "https://api.apitube.io/v1/news/everything" \
  --data-urlencode "title=bitcoin" \
  --data-urlencode "published_at.start=2026-04-01" \
  --data-urlencode "published_at.end=2026-04-30" \
  --data-urlencode "api_key=YOUR_API_KEY"

Use separate windows for a longer study. Filters such as category, entity, source or language do not have the headline-specific 31-day limit. See date ranges.

Common Questions

Is a comma in the title value an AND or an OR?

AND, like a space. Use Boolean query with explicit OR for alternatives.

Why does title=ai not match “Jamaica”?

ai is matched as a whole word. Use title_pattern if you need a substring instead.

How do I match a prefix or a substring in the title?

Use title_starts_with, title_ends_with or title_pattern for the beginning, end or part of a headline.

What are the length limits on the title parameter?

title accepts 2–100 characters (ER0007), as does ignore.title (ER0008). Quoted phrases normally need at least three characters, or two for Chinese and Japanese text; invalid phrases return ER0340.

Why did my title search return error ER0110?

Its date window exceeded 31 days. Set an end date within that window, split the period into requests, or use non-headline filters if they fit your search.


Related Articles