POST /web
Changed onPerform direct web searches with explicit query control. Defaults to Linkup and supports provider-specific filtering and output formats.
Request
- Base URLhttps://api.nano-gpt.com/api
- URLhttps://api.nano-gpt.com/api/web
- Auth
- API key in header x-api-key
- or HTTP bearer
Request body
Example request
{
"query": "latest AI news",
"provider": "linkup",
"structuredOutputSchema": "{\"type\": \"object\", \"properties\": {\"items\": {\"type\": \"array\"}}}",
"fromDate": "2025-01-01",
"toDate": "2025-07-01",
"excludeDomains": [
"example.com",
"spam.com"
],
"includeDomains": [
"trusted.com",
"official.org"
]
}Response
Web search response with results based on output type
Changes
- info
endpoint added
- info