Reads a company's pricing page and returns its plans with price, currency, billing interval, per-seat or usage unit, key limits and free-plan and trial flags.
1 credit/ call
Never more than 8 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/company.pricing" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-H "Prefer: wait=30" \
-d '{"url":"https://calendly.com/pricing"}'{
"output": {
"found": true,
"data": {
"planCount": 2,
"freePlan": true,
"freeTrial": false,
"truncated": false, …
}
},
"credits": 1
}Input and output
2 fields
https://calendly.com/pricing.9 fields
Good to know
Long-running. A call can outlast the default 10-second wait. You then get 202 Accepted with a requestId: poll GET /v1/requests/{id}, or send Prefer: wait=N to hold the connection for up to 90 seconds.
Pages that publish schema.org offers are read directly (1 credit). Other pages are read with AI.
No pricing page, or one whose plans appear only in a browser. Is a free miss. A miss is an answer, not an error, and it costs nothing.
Text read with AI is checked against the page. Names and quotes that do not appear in it are dropped.
Treat extracted facts as a starting point.
Outputs are stable between runs of an unchanged page (sorted lists, normalised whitespace, no timestamps). So the API can be scheduled as a monitor that fires only when the content changes.
More from Company. Same key, same credits.
The same key and credits work for every API.