
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "linkup",
"path": "/search",
"method": "POST",
"body": {
"q": "",
"depth": "",
"outputType": ""
}
}'
{
"success": true,
"data": {
"results": [],
"results[]": { … },
"answer": "{answer}",
"sources": [],
"sources[]": { … },
"images": [],
"images[]": { … }
}
}
Example values, built from the documented fields.
$0.01per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
100% success · 2,615 ms median · 30 days
About this endpoint
The /search endpoint allows you to retrieve web content.
Body parameters
qrequiredstringThe natural language question for which you want to retrieve context.depthrequiredstringDefines the precision of the search. standard returns results faster; deep takes longer but yields more comprehensive results.outputTyperequiredstringThe type of output you want to get. Use structured for a custom-formatted response defined by structuredOutputSchema.structuredOutputSchemaobjectRequired only when outputType is structured. Provide a JSON schema (as a string) representing the desired response format. The root must be of type object.includeSourcesbooleanRelevant only when outputType is structured. Defines whether the response should include sources. Please note that it modifies the schema of the response, see belowincludeImagesbooleanDefines whether the API should include images in its results.fromDatestringThe date from which the search results should be considered, in ISO 8601 format (YYYY-MM-DD). It must be before toDate, if provided, and later than 1970-01-01.toDatestringThe date until which the search results should be considered, in ISO 8601 format (YYYY-MM-DD). It must be later than fromDate, if provided, or than 1970-01-01.includeDomainsstringThe domains you want to search on. By default, don't restrict the search. You can provide up to 100 domains.excludeDomainsstringThe domains you want to exclude of the search. By default, don't restrict the search.includeInlineCitationsbooleanRelevant only when outputType is sourcedAnswer. Defines whether the answer should include inline citations.maxResultsnumberThe maximum number of results to return.Response types
resultsArray of search results. Returned when outputType is searchResults.arrayanswerLLM-composed answer with source attribution. Returned when outputType is sourcedAnswer.stringsourcesArray of sources used to compose the answer. Returned when outputType is sourcedAnswer or when includeSources is true with structured output.arrayimagesArray of images found in search results. Only present when includeImages is true.array