Web
Web search API
Call the Web search API to get title, description, domain and position, as JSON or markdown. 1 credit per 10 items, at least 1 credit.
POST
Search the web and get titles, links and snippets
- Endpoint:
web.search - Returns:
datahasresults. - Cost: 1 credit per 10 items, at least 1 credit. Failed calls cost nothing.
- Paging: No.
from and to dates, country, language, and domains to include or exclude.
Example
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Required string length:
1 - 400ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
Pattern:
^[A-Za-z]{2}$BCP 47 language tag, e.g. en or pt-BR. Any case is accepted.
Pattern:
^[A-Za-z]{2}$Maximum array length:
10Maximum array length:
10Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Required range:
1 <= x <= 100Available options:
day, week, month, year, all