Developers · API
CentralSource API
Use the REST API when you are writing your own code: a voice receptionist, a chatbot, a webhook or an automation. It returns only the business's live, current information that your key is allowed to see, with version numbers and effective dates. An AI assistant that speaks MCP can use the MCP server instead, with the same key.
Business owner rather than developer? See Connect your AI.
1. Get an API key
The business owner signs in at app.centralsource.com.au and goes to Account → Connected apps (direct link). They give the assistant a name, choose Who does it talk to? (anyone, existing customers or staff) and select Create key. The key starts with cs_live_ and is shown once, so copy it straight away. Each assistant should have its own key.
2. Base URL and header
- Base URL:
https://api.centralsource.com.au - Header on every request:
Authorization: Bearer cs_live_… - A missing or wrong key gets
401with aWWW-Authenticate: Bearerheader; errors are RFC 9457 problem details (application/problem+json)
3. Make a request
curl "https://api.centralsource.com.au/v1/search?q=Do+you+service+Coburg%3F&limit=3" \
-H "Authorization: Bearer $CS_KEY"The response (trimmed):
{
"found": true,
"degraded": false,
"results": [
{
"type": "record",
"id": "…",
"recordId": "…",
"documentId": null,
"kind": "service_area",
"key": "melbourne-north",
"title": "Service area: Melbourne's north",
"content": "We cover Coburg, Brunswick and Preston …",
"data": { "postcodes": ["3058", "3056", "3072"] },
"version": 3,
"effectiveFrom": "2026-11-01T00:00:00+11:00",
"effectiveTo": null,
"approvedAt": "2026-10-30T09:12:00+11:00",
"sourceUrl": "https://example.com.au/areas",
"score": 0.91,
"similarity": 0.84,
"keywordMatch": true
}
],
"guidance": "…"
}When nothing the business has live answers the question you get "found": false rather than a weak match, and guidance tells your assistant not to guess. The question is listed for the business to answer.
4. Pick the endpoints you need
| Endpoint | What it returns |
|---|---|
GET /v1/search?q=… | Keyword and meaning search over the business's live information. Optional kind and limit (1 to 20, default 5) |
GET /v1/lookup?field=postcodes&value=3078 | Exact match on a structured field. Fast, for voice |
GET /v1/export/prompt | Everything the key may see as one text block, for assistants that keep knowledge in their prompt. Add ?format=json for JSON. Cache on the ETag: send If-None-Match and you get 304 until something changes |
GET /v1/profile | Business identity, locations and service areas |
GET /v1/records, GET /v1/records/{id} | A page of current live records, or one record |
curl https://api.centralsource.com.au/v1/export/prompt \
-H "Authorization: Bearer $CS_KEY"If your tool can't call an API at all, the business can download its answers as one file and load it in instead.
5. OpenAPI description
The full description is in the OpenAPI document (OpenAPI 3.1, no key needed to read it).
6. Allowances
- Free plan: 1 connected app and 1,000 assistant questions a month, counted per business by calendar month (Melbourne time). Full plan: no monthly cap
- Each search, lookup and export counts as a question, including an export that returns
304, so refresh a cached export every few minutes rather than every few seconds. Profile and record reads aren't counted - When the month's allowance is used, search and lookup return
found: falsewithlimitReached: true, export returns a short note saying so, and profile and record reads return429. Your assistant should then say it will check with the business - MCP tool calls use the same monthly allowance
Security and privacy
- Each key belongs to one business and only ever sees that business's information
- Each key has an audience chosen when it's created: anyone (public information), existing customers, or staff. It sees information for that audience and below, and only live information that is in force now
- Keys created in the dashboard can read, never change
- The owner can disconnect a key at any time under Account → Connected apps; it stops working immediately
- MCP results are labelled as reference data, not instructions, so an assistant shouldn't treat business content as commands
- Information is stored in Australia. Questions assistants ask are kept so the business can see them; see the privacy policy and our security page
Public business pages and their JSON
Each business in the directory has a directory listing at centralsource.com.au/b/<business>/ with schema.org LocalBusiness data. Every page that search engines may index also has a JSON copy of the same facts beside it, with no key or sign-in:
curl https://centralsource.com.au/b/<business>/facts.json- The page's own schema.org LocalBusiness data, plus each fact as the page shows it, with the date it was last confirmed and whether the business provided it or it was read from the business's own website
- The page links to it with
<link rel="alternate" type="application/json">; it changes in the same step as the page - Every business with a JSON copy is listed in
/directory/index.json - Cache on the
ETagorLast-Modifiedheader; readable from any website (CORS)
The public files are described in the public OpenAPI document. For a business's customer or staff information, use the REST API or the MCP server with the business's key.
Connecting an AI agent?
See the MCP server