Stack Overflow hub

Stack Overflow Title Search API

Up to 25 questions whose titles are close to yours, the way the site suggests them while a title is typed.

GET /v1/stack-overflow/questions/title-search

1 credit Failed requests are free

About this endpoint

GET /v1/stack-overflow/questions/title-search?title=parse+json+python matches a title against the titles of existing questions. title needs at least two words and at most 150 characters. tagged narrows the matches to one tag.

Each match has id, url, slug, title, excerpt, answerCount, hasAcceptedAnswer, askedAt and author with id and name. The route returns at most 25 rows and has no next page, so it is a check before you post or a quick duplicate finder, not a deep search. For a list you can page, use the questions search route.

Stack Overflow Title Search API FAQ

How many results does a title search return?

Up to 25, in one response. There is no cursor and no next page. Use the questions search route when you need to keep paging.

How many credits does a title search cost?

Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth.

Why does a one-word title fail?

The title must be at least two words, because the match is meant for a title you are drafting. Add a second word or use the questions search route with q instead.

Can I restrict matches to one tag?

Yes. Set tagged to a single tag name, for example tagged=python. Encode # and + in the URL as c%23 and c%2B%2B.