Search articles by title words, another name of the subject, or a misspelling

Matches article titles and other names of the subject; not full text. Pass a subject's name ('Mount Fuji'), not a question. Then call getArticle with a result's slug. Words that name a topic also return topics. A page past the end has empty results; pages reach 1,000 results deep.

get/search

Request

  • Base URL: https://www.edgechat.ai/api/v1
  • URL: https://www.edgechat.ai/api/v1/search
  • Auth: none declared

Query parameters

qstring required

A subject's name or words from its title.

limitinteger

Results per page.

pageinteger

Page number, from 1.

firstboolean

true: only the best match.

topicstring

Only articles under this topic id.

geostring

Only articles under this geography id (every match, up to 1,000).

sort'relevance' | 'central'

relevance (default) or central: the most-linked subjects first, among every match up to 1,000.

max_gradenumber

Only articles at or below this reading grade; 503 until reading grades are published.

facets'1'

1: counts of the matches by topic and geography region.

fieldsstring

Comma-separated keys: each result (or the answer, when it has no results) keeps only these.

Response

Matching articles, best first

querystring
did_you_meanstring
totalinteger
pageinteger
pagesinteger
match'exact' | 'alias' | 'misspelling' | 'partial' | 'none' | 'fulltext'
searched_asstring

The transliterated query that ran, when the query as typed found nothing.

scopestring

Example response

{
  "license": {
    "spdx": "LicenseRef-Edgepedia-Community-1.0"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.