
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "data-legion-company-base",
"path": "/company/discover",
"method": "POST",
"body": {
"query": "",
"limit":
}
}'
{
"success": true,
"data": {
"total": 49850,
"matches": [ 1 item ],
"next_cursor": "RGVNe6K-NAbqqK1fKAsayT0pZBIE4kT-2NfBxp52Z1rAptN1Ty1G7aeOCSZvL-wMusjSwZiWYzSvomQvT0-iWyMoSO9GOzlzCXAseaZaDJqd_XZEJG55308__HB5Lw5r-GXrsDIVjWMAInu3BdeFEh2FHJlvrXvyBvG6YrISwmgxND5foj8xny3Br3yWCz0Fy7sWhPR-Ys1cdU79VrtIDTYHVhSnUWGSncvVfUS_ymR_7WGxxaMoFtKe-LnMYEBPU4SdLELBJTdVzDma6N_4fYPZ2JNs-vwt-IC2nNlfpOovOx48nIC7iq4Ifu3hYj89olykhQshhBJSbYW2IcgKXS7HvjqHiFgQ0kdQqM1vRwX1my6FnEuZ8vkQboerZzQre9hoYYgrIuhZK3uI5kOTfC8bTt6RKztCvQ8AaLzy4e30VIkRFchhQ5swB4ThIi8DBcxxo_ZUetsT0ueEQIbVfuSZuGr_VcD6qUAlc9tOG0Ay4qOQOmuV9deOJ8PunnSlakd2nN0vULBtNq-U-3z7cv1Od1wSwT3WHrbpg14mDPmzx2qUYSbov6FSe3TpCnopkyWXEPrfB80m3-tS9FJVdIujzV9S2jU1HBdZJ-tSuTHpWfOgwYRr1lQG_gysK5ysF3UtqcgQeCxcltM-h0wY-hSYJ2ttGd9yjnftAMqK1dqO6PfHM4y1e3ph6_XUQdZ94kXgpemEnMvDzS5v"
}
}
A real response, recorded when Orthogonal checked this endpoint.
The final charge depends on what comes back. It shows after Run.
$0.0109per match returned
Response-basedYou pay for what comes back, never more than the price shown before you run.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
About this endpoint
Discover companies using natural language: describe the companies you want in plain English and get up to limit matching company records (1-100). Refused or unclear queries answer 400.
Body parameters
queryrequiredstringNatural language description of companies you're looking forlimitintegerMaximum number of results to return (default 1, max 100).offsetintegerNumber of results to skip (0-10000). Each request with an offset reads the query again and may word the search differently, so pages can overlap or skip records: page with cursor instead.cursorstringContinue from the previous page's next_cursor: the next page of the same search, without asking the model again (it may word the same query differently), and past offset's 10,000-row reach. Send the same query, and no offset, in a POST body (a long cursor won't fit in a GET's URL). A cursor works for the dataset build it came from.titlecasebooleanIf true, format text fields in title case (names, company names, locations). Raw fields, IDs, URLs, codes, and confidence fields are excluded.include_fieldsstringComma-separated list of fields to include in response. If omitted, all fields are returned.exclude_fieldsstringComma-separated list of fields to exclude from response. Applied after include_fields filter.pretty_printbooleanIf true, pretty-print JSON response with indentation.Response types
totalFor /company/search and /company/discover, the total number of rows matching the query's WHERE clause across the database (not just this page). On search/discover, if the exact count exceeds its time budget (broad, low-selectivity queries) it falls back to the matches counted before the budget ran out (a lower bound), and if that does not cover this page, to the offset plus the rows returned; the response header Total-Count-Status reports which (exact, estimate, or page).integerMore from Data Legion Company Base
All 3 Data Legion Company Base endpointsSimilar endpoints
- Data Legion Company Premium · Company discoveryPOST/company/discover$0.0436 per match returnedResponse-based · up to $4.36
- Data Legion Person Base (No Contact Data) · Person discoveryPOST/person/discover$0.0109 per match returnedResponse-based · up to $1.09
- Company Enrich · Search CompaniesPOST/companies/search$0.01225 per result returnedResponse-based
- People Data Labs · Company SearchPOST/v5/company/search$0.11 per result returnedResponse-based
- Data Legion Person Data (Base with Contact Data) · Person DiscoverPOST/person/discover$0.0545 per match returnedResponse-based · up to $5.45
- Fiber AI · Company searchPOST/v1/company-search$0.001962 per company returnedResponse-based · up to $1.963962