Run direct web search requests with explicit query control, Linkup output formats, and normalized metadata
POST /api/web when you want direct control over search requests and output formatting.
For chat-first workflows, use POST /api/v1/chat/completions with model suffixes like :online, :online/linkup, or :online/linkup-deep.
| Use case | Endpoint |
|---|---|
| You want the model to answer with web context in one call | POST /api/v1/chat/completions + :online... |
You need explicit control over query, outputType, domain/date filters, or structured schema output | POST /api/web |
| You need OpenAI-native web search | POST /api/v1/chat/completions only |
YOUR_API_KEYYOUR_API_KEYopenai-native is not allowed on /api/web.standard or deep.depth: "standard" is executed as Linkup fast under the hood.searchResults, sourcedAnswer, structured.outputType is structured. Pass a JSON schema string.YYYY-MM-DD).YYYY-MM-DD).outputType: "searchResults", "sourcedAnswer", and "structured".
Non-Linkup providers currently support only outputType: "searchResults".searchResults, data is an array of normalized results.
For sourcedAnswer and structured, data is the provider response object.
| Mode | Price |
|---|---|
| Linkup standard | $0.006 |
| Linkup deep | $0.06 |
| HTTP status | Meaning |
|---|---|
400 | Invalid parameters |
401 | Invalid session or auth |
402 | Insufficient balance or usage cap |
429 | Rate limited |
503 | Provider key missing |
504 | Search failed or timed out |