Strukta API
The Strukta API gives you access to UK planning applications, public sector tenders, and the companies and people linked to them. Use it to send your matched leads into a CRM, keep your own systems in sync with new and updated records, or build internal tools on Strukta data.
The API follows REST conventions. It takes query parameters and JSON request bodies, returns JSON, and uses standard HTTP status codes. All requests go to one base URL over HTTPS.
Authentication
Authenticate every request with an API key, sent as a bearer token in the Authorization header. The x-api-key header works too.
Keys start with sk_live_. We show a key once, when you create it, and store only a hash of it. If you lose a key, delete it and create a new one. An account can have up to 5 active keys, and they all share the same limits.
Every key can read records, including contact details. To let a key update your lead profile, tick Change lead profile when you create it. Keep keys out of browsers and public code.
Quickstart
Three calls cover most integrations.
- List your matched leads:
GET /leads. - Open one for the full record, including the people to contact:
GET /projects/{id}orGET /tenders/{id}. - Next time, ask only for what changed:
GET /leads?changed_since=....
Pagination
List endpoints return 25 results by default. Set limit to get up to 100. When more results are available, the response includes a next_cursor. Pass it back as cursor to get the next page. When next_cursor is null, you have reached the end.
Keeping in sync
Add changed_since to any list endpoint to get only the records that changed after a given time, in the order they changed. Each record has a changed_at timestamp, which moves only when its content changes, for example when a decision is made or a contact is added.
To keep a copy in sync:
- Run your first sync without
changed_sinceand page to the end. - Store the
changed_atof the last record you processed. - On each later run, pass it as
changed_sinceand page to the end again.
On /leads, a change feed also tells you why each lead is there: event is new for a lead matched since your last call, or updated for a lead whose record has changed since it was matched.
Summaries and full records
Lists return a summary of each record: its title, place, stage, dates, values, and the names of the organisations involved. Summaries are free to read, so you can search and browse as much as you need.
Retrieve a single record by id for everything we hold: the full description, the companies and people linked to it, and their contact details. Fields with no value are left out of the response rather than sent as null. Fields may be added over time; existing fields are never renamed or removed.
Rate limits and usage
Limits apply per account and are shared by all its keys. They are set well above normal use, so an integration that reads your leads and keeps in sync will not reach them. Up to 200 requests a minute are allowed.
| What | Allowance |
|---|---|
| Your leads, by API or webhook | Included |
| Contact look-ups | 500 a month, reset on the 1st |
| API keys | Up to 5 |
| Webhooks | Up to 10 |
If you reach a limit, the API returns 429 with a Retry-After header giving the number of seconds to wait. Wait that long, then retry.
Errors
Errors use standard HTTP status codes and return a JSON body with a machine-readable code and a message.
| Status | Code | Meaning |
|---|---|---|
| 400 | unknown_parameter | A query parameter name is not recognised for this endpoint. |
| 400 | invalid_parameter | A parameter value is not valid, for example a malformed date. |
| 400 | invalid_body | The request body is not a JSON object. |
| 401 | missing_key | No API key was sent. |
| 401 | invalid_key | The key is wrong or has been deleted. |
| 403 | no_api_plan | The key belongs to an account without an active Teams plan. |
| 403 | missing_permission | The key does not have the permission this call needs. |
| 404 | not_found | No record with that id, or no such endpoint. |
| 422 | cannot_enrich | The contact has no usable name to look up. |
| 429 | rate_limited | A request limit was reached. See Retry-After. |
| 429 | record_limit_reached | A daily limit was reached. See Retry-After. |
| 429 | enrichment_limit_reached | All 500 contact look-ups for this month are used. |
Leads
Your leads are the planning applications and tenders matched to your lead profile, the same list as the leads inbox in the app. Your leads update every morning, and soon after you change your profile. Leads you dismiss in the app are not returned.
Each item has the fit, what it matched_on, when it was matched_at, and a summary of the record. With changed_since, each item also has event (new or updated) and updated_at.
Projects
Planning applications from local planning authorities across the UK.
Search projects
Retrieve a project
Returns the full project, including linked companies, people and their contact details.
Enrich a project
Finds missing email addresses and phone numbers for the people on a project, then returns the updated project. This is the quickest way to get a lead ready for outreach, and it follows the same rules as the Find contact details option on webhooks.
The response has an overall status, the result for each person in contacts, your remaining look-ups, and the refreshed record.
| status | Meaning |
|---|---|
enriched | New details were found for at least one person. |
nothing_to_enrich | Every agent on the project already has an email and phone, or there is no agent. |
not_found | We looked, but found nothing new. |
limit_reached | The monthly look-ups ran out part way through. |
Tenders
Public sector tenders and contract awards from the official UK tender services.
Search tenders
Retrieve a tender
Returns the full tender, including the buyer contact where the notice gives one.
Companies
Organisations that appear on projects and tenders: applicants, agents, architects, contractors, buyers and suppliers.
Contacts
People linked to projects and tenders. To list the people on one project, retrieve the project and read its contacts.
Enrich a contact
Finds a missing work email and phone number for one person. Use this for people you found through /contacts or /companies. For the people on a lead, enrich the project instead.
| status | Meaning |
|---|---|
enriched | New details were found and saved. |
already_known | We already hold an email and phone for this person. |
not_found | We looked, but found nothing new. |
Lead profile
Your lead profile decides which records become your leads: trades, regions, planning stages, project types, tender types and exclusions. It is the same profile you set in the app.
Send only the fields you want to change; anything you leave out keeps its current value. Values we do not recognise are listed in ignored rather than silently dropped. Saving starts a re-match, and leads_refresh tells you whether it has started or is scheduled.
Filter options
Lists every valid value for the list filters, with how many records have each. Use it to build drop-downs or check spellings.
type is projects, tenders or companies.
Webhooks
A webhook sends your new and updated leads to an address you choose, so you do not need to poll the API. It is also how Make, Zapier and Power Automate receive leads.
Add a webhook in Account, API. For each one you choose:
| Setting | What it does |
|---|---|
| Address | An https URL that accepts a POST request. |
| Send | My leads inbox, with the fits and types you choose, or one of your saved searches. |
| Find contact details | On by default. Looks up missing details for the agents on each project lead before sending, using your contact look-ups. |
| Also send my existing leads | On by default. The first deliveries include the leads you already have; after that, only new and updated ones. |
Use Send test to post a sample lead to your address at any time.
Payload
Each delivery is a JSON POST with up to 50 leads. Each lead carries the full record, in the same shape as GET /projects/{id} or GET /tenders/{id}.
event is new or updated. Use record.id to find a lead you already created, so an update changes the existing CRM record rather than creating a duplicate.
Verifying signatures
Every delivery is signed with your webhook's signing secret. The secret is shown once, when you add the webhook, so store it then. Check the signature before trusting a delivery. Two headers are sent:
| Header | Value |
|---|---|
X-Strukta-Timestamp | Unix time the delivery was signed. |
X-Strukta-Signature | v1= followed by the hex HMAC-SHA256 of {timestamp}.{raw body}, using your secret. |
Compute the signature over the raw request body, before any JSON parsing.
Delivery and retries
Leads are sent every morning, after the day's new planning applications and tenders are matched. Large first deliveries continue through the day until everything has been sent. Respond with any 2xx status within 15 seconds to confirm receipt.
If your endpoint fails, we email the account admin and try again the next day. Nothing is skipped: the failed leads are included in the next delivery. After 7 days of failures in a row the webhook is paused, and we email again. To resume, fix your endpoint, then delete the webhook and add it again. Each webhook's last delivery and any error are shown in Account, API.
Connect with Make
Works on Make's free plan.
- In Make, create a scenario and add Webhooks, Custom webhook as the trigger. Copy the address it gives you.
- In Strukta, open Account, API, add a webhook with that address, and click Send test.
- Back in Make, add an Iterator over
leads, then your CRM module, for example HubSpot CRM, Create or update a contact. - Map the fields (see common mappings) and switch the scenario on.
Connect with Zapier
Needs a paid Zapier plan, because Webhooks by Zapier is a premium app.
- Create a Zap with the trigger Webhooks by Zapier, Catch Hook. Copy the address.
- Add it as a webhook in Strukta and click Send test, then Test trigger in Zapier.
- Add Looping by Zapier over
leads, then your CRM action. - Map the fields and publish the Zap.
Connect with Power Automate
For Dynamics 365. The HTTP trigger used here is a Power Automate premium feature.
- Create an Automated cloud flow with the trigger When a HTTP request is received. Save it and copy the address.
- Add it as a webhook in Strukta and click Send test.
- Add Parse JSON on the body, then Apply to each over
leads. - Inside the loop, add Dataverse, Add a new row on the Leads table and map the fields.
Common CRM mappings
| Strukta field | Typical CRM field |
|---|---|
record.title | Lead or deal name |
record.id | A unique id field, to match updates to the same record |
record.stage | Lead status |
record.council | City or region |
record.contacts[].name, .email, .phone | Contact name, email and phone |
record.buyer_name | Company |
record.deadline_date | Close date |
record.app_url | Notes or website |
fit | Lead rating |
Objects
Fields with no value are left out. Contact details, dates and values are often empty because the source does not publish them.
Project
| Field | Type | Description |
|---|---|---|
| id | uuid | Strukta id. Stable. |
| reference | string | Council planning reference. |
| title | string | Short plain-English title. |
| description | string | Proposal text from the council. Full record only. |
| stage | string | Planning stage, for example Early Planning. |
| decision | string | Decision, where one has been made. |
| application_type | string | Full, Outline, Reserved matters and so on. |
| sector | string | End-use sector. |
| received_date, validated_date, decision_date | date | Key dates. |
| council, council_code | string | Planning authority. |
| region | string | One of the 12 regions. |
| address, postcode, latitude, longitude | Site location. | |
| applicant_name | string | Applicant, as published by the council. Full record only. |
| agent_name, agent_company, agent_email, agent_phone | string | Planning agent. Full record only. |
| companies | array | Linked companies: id, name, role, company_number. Full record only. |
| contacts | array | Linked people: id, name, role, company_id, company_name, email, phone. Full record only. |
| source_url | string | The council record. |
| app_url | string | The record in Strukta. |
| changed_at | timestamp | Last change to the content. |
Tender
| Field | Type | Description |
|---|---|---|
| id | uuid | Strukta id. Stable. |
| title, summary, description | string | Notice text. Description in the full record only. |
| buyer_name, buyer_type | string | Buyer. |
| buyer_contact_name, buyer_contact_email | string | Buyer contact, where published. Full record only. |
| notice_type, status, opportunity_type | string | Kind and state of the notice. |
| sector | string | End-use sector. |
| cpv_codes | array | CPV codes. |
| value_band, value_low_gbp, value_high_gbp, value_awarded_gbp | Value, where published. | |
| published_date, deadline_date, award_date | date | Key dates. |
| contract_start_date, contract_end_date | date | Contract period. |
| awarded_to_name, awarded_to_company_id | Winning supplier, where awarded. | |
| region, postcode | string | Place of performance, where published. |
| source_url, app_url, changed_at | As for projects. |
Company
id, name, role, company_type, company_number, company_status, sic_codes, website_domain, address, postcode, project_count, tender_count, contact_count, latest_activity_at, app_url, changed_at. The full record adds company_email, phone and linkedin_url where held.
Contact
id, name, job_title, role, company_id, company_name, project_count, tender_count, latest_activity_at, app_url, changed_at. The full record adds email, phone and linkedin_url where held.
Regions
Projects and tenders use the 12 UK regions: London, South East, East of England, South West, East Midlands, West Midlands, North West, North East, Yorkshire and The Humber, Scotland, Wales, Northern Ireland. A project's region comes from its council.
Common questions
Need help with an integration? Contact us.
Leads straight into your CRM, with the people to call.
API access, webhooks and a second login with the Teams plan.