API v1 · draft
API documentation
The API is in early access. Endpoints and fields below are the v1 design and may still change before launch. Request a key.
Basics
| Base URL | https://api.drillcanada.ca/v1 |
|---|---|
| Auth | Header Authorization: Bearer <API_KEY>, or ?apiKey= |
| Format | JSON, UTF-8. Numbers are numbers. Dates are ISO 8601 UTC. |
| Units | Metres and CAD unless a currency field says otherwise. Grade units are always explicit. |
| Language | ?lang=en (default) or ?lang=fr adds labels for enum values. Data never changes. |
| Content | Facts only. No release text is returned; every record links to its source filing. |
Every list endpoint returns the same envelope. Follow next_url until it is absent; limit is 1–1000 (default 100).
{
"status": "OK",
"request_id": "req_8f2c…",
"count": 100,
"results": [ … ],
"next_url": "https://api.drillcanada.ca/v1/drill-results?cursor=…"
}
Every record carries published_at (when the company published), available_at (when it entered DrillCanada), source (filing id and link) and quality.review:
| review | Meaning |
|---|---|
auto_validated | Extracted and passed every automatic check |
auto_rechecked | Failed a check, re-extracted and confirmed by a second model |
human_reviewed | Verified by a person |
flagged | Still under review; use with care |
Companies
GET /companies · GET /companies/{ticker or id}
| Filter | Example |
|---|---|
exchange | TSX, TSXV, CSE |
metal | Au, Cu, Li, U… |
stage | explorer, developer, producer |
hq_province, status, q, updated_since | QC, active, name search, date |
Drill results
GET /drill-results · GET /drill-results/{id} · GET /companies/{ticker}/drill-results
| Filter | Notes |
|---|---|
ticker, company_id, element | element=Au |
min_grade + unit | min_grade=5&unit=g/t |
min_gram_metres, min_length_m | Gram-metres are computed for precious metals (Au, Ag, PGEs) only |
published_from, published_to | Dates |
include_historical | Default false: historical and third-party results are excluded |
include_sub_intervals | Default true; "including" intervals point to their parent via parent_id |
sort | published_at, gram_metres, grade, length_m; prefix - for descending. Rank gram-metres per element. |
curl -H "Authorization: Bearer $KEY" \ "https://api.drillcanada.ca/v1/drill-results?element=Au&min_gram_metres=50&sort=-gram_metres"
Example values on this site are illustrative.
{
"id": "dh_93xa…", "ticker": "DEMO", "exchange": "TSXV",
"project": "Example Project", "hole_id": "DEMO-01",
"from_m": 112.0, "to_m": 124.5, "length_m": 12.5,
"true_width_m": null, "element": "Au", "grade": 8.4, "unit": "g/t",
"grade_equivalent": false, "gram_metres": 105.0, "parent_id": null,
"assays_pending": false, "is_historical": false,
"published_at": "2026-10-02T13:24:00Z", "available_at": "2026-10-02T13:31:00Z",
"source": { "type": "sedar_plus", "filing_id": "…", "url": "…" },
"quality": { "review": "auto_validated" }, "revision": 1
}
Financings
GET /financings · filters ticker, status (announced, upsized, closed_partial, closed_final, cancelled), type (private_placement_nonbrokered, private_placement_brokered, flow_through, charity_flow_through, bought_deal, public_offering, convertible, debt, other), min_gross, has_warrants, dates. One row per security and price.
{
"ticker": "DEMO", "status": "closed_final", "type": "private_placement_nonbrokered",
"security": "units", "quantity": 6000000, "price": 0.15, "currency": "CAD",
"gross_proceeds": 900000,
"warrant": { "ratio": 1, "strike": 0.25, "term_months": 24 },
"insider_participation": true, "hold_period": "4 months and a day"
}
Capital structure
GET /companies/{ticker}/capital-structure (latest) · …/capital-structure/history (dated snapshots). Shares outstanding, each warrant tranche (quantity, strike, expiry), options and fully diluted count.
Corporate actions
GET /corporate-actions · filter action: consolidation, name_change, ticker_change, acquisition, option_agreement, earn_in, delisting, halt.
Releases
GET /releases lists every filing we processed (no text): ticker, publication time, detected types, source link and how many records were extracted. Use it to audit coverage.
Webhooks
Developer plan and up. Subscribe with filters (e.g. ticker, min_gram_metres) to drill_result.created, financing.created, financing.updated, capital_structure.updated, corporate_action.created and record.corrected. Payloads are the record itself, signed with DrillCanada-Signature (HMAC-SHA256), retried for 24 hours.
Plans and limits
| Free | Starter | Developer | Business | |
|---|---|---|---|---|
| Delay | 24 h | Real time | Real time | Real time |
| Datasets | Companies, drill results | All | All | All |
| History | 90 days | 2 years | Full | Full |
| Calls / day | 100 | 10,000 | 100,000 | Custom |
| Webhooks, bulk files | — | — | Yes | Yes |
| Redistribution licence | — | — | — | Yes |
Responses include X-RateLimit-Limit and X-RateLimit-Remaining. GET /usage returns your plan and today's calls.
Errors
| HTTP | status | Meaning |
|---|---|---|
| 400 | ERROR_BAD_REQUEST | Invalid filter or value |
| 401 | ERROR_AUTH | Missing or invalid key |
| 403 | ERROR_PLAN | Dataset or feature not in your plan |
| 404 | NOT_FOUND | Unknown id or ticker |
| 429 | ERROR_RATE_LIMIT | Quota reached (see Retry-After) |
| 500 | ERROR_INTERNAL | Our fault; quote the request_id |
DrillCanada provides data, not investment advice. Share prices are not included.