Search Results
Retrieve search results or queue a search for later retrieval. Supports Google engine with geotargeting by country, subdivision, and city. Returns structured SERP data. Pagination billing: call the first page normally and save billing.requestId from the Orthogonal /v1/run response. For later page, offset, or cursor calls on the same logical search, pass parentRequestId with unchanged non-pagination parameters. Valid continuation calls still get their own request IDs and quoted price, but are charged 0. Changing filters starts a new billable request.
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "joinmassive",
path: "/search",
query: {
"terms": "example"
}
});
console.log(output);Query parameters
The broad or exact word or phrase to query
Search engine (google)
Number of results pages (1-10, default 1)
Results per page (0-100)
Initial results to skip For later offset pages of the same logical search, keep non-pagination parameters unchanged and pass top-level parentRequestId from the first Orthogonal /v1/run response.
Device name to emulate
Proprietary encoded string for emulating search location
Two-letter ISO country code
First-level subdivision code
City name
Language name or ISO code
Display language for the search interface
Encoded results page URL (up to 2047 chars); overrides other params
Lazy features to wait for (ai, answers, ads); repeatable
Cache expiration in days (0 disables)
Encoded callback URL or SQS queue URL/ARN for async notification
sync or async mode
Output format accepted by Massive: html or json. Defaults to html when omitted.
Response
Actual Orthogonal credits charged for this /v1/run call. Accepted continuation pages are charged 0.
Price this call would normally cost before continuation billing is applied.
Unique Orthogonal request ID for this page or poll call. Save the first call requestId and pass it as parentRequestId on later pages.
Parent Orthogonal request ID when this call is a continuation of an earlier search.
Root Orthogonal request ID for the full logical search.
True when this call was accepted as a continuation page or poll.
False for accepted continuation pages because they are not charged again.
Quoted price for this page or poll before continuation billing.
Actual credits charged for this page or poll. Accepted continuations return 0.
Total charged so far for the full logical search, including the first page and accepted continuations.