Strukta
API reference

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.

https://app.strukta.io/api/v1
The API is part of the Teams plan. The account admin creates API keys and webhooks in Account, API. Keys work once the plan is paid.

Authentication

Authenticate every request with an API key, sent as a bearer token in the Authorization header. The x-api-key header works too.

Request
curl https://app.strukta.io/api/v1/leads \
  -H "Authorization: Bearer sk_live_..."

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.

  1. List your matched leads: GET /leads.
  2. Open one for the full record, including the people to contact: GET /projects/{id} or GET /tenders/{id}.
  3. Next time, ask only for what changed: GET /leads?changed_since=....
Request
curl "https://app.strukta.io/api/v1/leads?fits=strong,good&limit=2" \
  -H "Authorization: Bearer sk_live_..."
Response
{
  "items": [
    {
      "fit": "strong",
      "matched_on": [{ "kind": "sector", "label": "Education" }],
      "matched_at": "2026-11-26T09:04:11Z",
      "record": {
        "id": "6f1c2a4e-1d7b-4c55-9a0e-2b8d3f6e9c01",
        "type": "project",
        "title": "New two-storey teaching block",
        "reference": "26/00412/FUL",
        "council": "Knowsley",
        "council_code": "knowsley",
        "region": "North West",
        "stage": "Early Planning",
        "application_type": "Full",
        "received_date": "2026-11-18",
        "source_url": "https://...",
        "app_url": "https://app.strukta.io/projects/6f1c2a4e-...",
        "changed_at": "2026-11-26T08:51:40Z"
      }
    }
  ],
  "next_cursor": "eyJrIjoi..."
}

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.

Request
curl "https://app.strukta.io/api/v1/projects?regions=London&limit=100&cursor=eyJrIjoi..." \
  -H "Authorization: Bearer sk_live_..."

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:

  1. Run your first sync without changed_since and page to the end.
  2. Store the changed_at of the last record you processed.
  3. On each later run, pass it as changed_since and 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.

WhatAllowance
Your leads, by API or webhookIncluded
Contact look-ups500 a month, reset on the 1st
API keysUp to 5
WebhooksUp 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.

Response
{
  "error": {
    "code": "unknown_parameter",
    "message": "Unknown parameter \"colour\". See the API docs for this endpoint."
  }
}
StatusCodeMeaning
400unknown_parameterA query parameter name is not recognised for this endpoint.
400invalid_parameterA parameter value is not valid, for example a malformed date.
400invalid_bodyThe request body is not a JSON object.
401missing_keyNo API key was sent.
401invalid_keyThe key is wrong or has been deleted.
403no_api_planThe key belongs to an account without an active Teams plan.
403missing_permissionThe key does not have the permission this call needs.
404not_foundNo record with that id, or no such endpoint.
422cannot_enrichThe contact has no usable name to look up.
429rate_limitedA request limit was reached. See Retry-After.
429record_limit_reachedA daily limit was reached. See Retry-After.
429enrichment_limit_reachedAll 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.

GET/leads
Query parameters
fitslist
Filter by fit: strong, good, possible. Separate values with commas.
typeslist
project, tender, or both.
limitinteger
Results per page, from 1 to 100. Default 25.
cursorstring
The next_cursor from the previous page.
changed_sincetimestamp
Return only records that changed after this time, oldest change first. ISO 8601, for example 2026-11-26T09:00:00Z. See Keeping in sync.

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

GET/projects
Query parameters
qstring
Keywords. Use quotes for a phrase, OR for either word, and - to exclude a word, for example "care home" -demolition.
regionslist
One or more of the 12 regions.
councilslist
Council codes, for example camden. See filter options.
stageslist
Planning stages, for example Early Planning or Plans Approved.
sectorslist
End-use sectors, for example education or residential.
received_fromdate
Received on or after this date.
received_todate
Received on or before this date.
decided_fromdate
Decided on or after this date.
decided_todate
Decided on or before this date.
has_agentboolean
true for applications that name an agent.
limitinteger
Results per page, from 1 to 100. Default 25.
cursorstring
The next_cursor from the previous page.
changed_sincetimestamp
Return only records that changed after this time, oldest change first. ISO 8601, for example 2026-11-26T09:00:00Z. See Keeping in sync.

Retrieve a project

GET/projects/{id}

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.

POST/projects/{id}/enrich
Who is looked up
The planning agents on the project who are missing an email or phone
Contact look-ups
1 for each person we find new details for. People we already hold details for, and people we cannot find, are free.

The response has an overall status, the result for each person in contacts, your remaining look-ups, and the refreshed record.

statusMeaning
enrichedNew details were found for at least one person.
nothing_to_enrichEvery agent on the project already has an email and phone, or there is no agent.
not_foundWe looked, but found nothing new.
limit_reachedThe monthly look-ups ran out part way through.
Response
{
  "status": "enriched",
  "contacts": [
    {
      "id": "b2d4f6a8-0c1e-4a3b-8d5f-7e9a1c3b5d70",
      "status": "enriched",
      "enriched": true,
      "email": "j.smith@example-architects.co.uk",
      "phone": "+44 20 7946 0000",
      "job_title": "Associate Director",
      "enrichments_used": 41,
      "enrichments_left": 459
    }
  ],
  "enrichments_used": 41,
  "enrichments_left": 459,
  "record": { "id": "6f1c2a4e-...", "type": "project", "...": "..." }
}

Tenders

Public sector tenders and contract awards from the official UK tender services.

Search tenders

GET/tenders
Query parameters
qstring
Keywords, with the same syntax as for projects.
regionslist
One or more of the 12 regions.
sectorslist
End-use sectors.
statuseslist
Notice status, for example Open or Awarded.
notice_typeslist
Notice types, for example contract_notice or contract_award_notice.
value_mininteger
Minimum value in pounds.
deadline_fromdate
Deadline on or after this date.
deadline_todate
Deadline on or before this date.
awardedboolean
true for awarded contracts only.
limitinteger
Results per page, from 1 to 100. Default 25.
cursorstring
The next_cursor from the previous page.
changed_sincetimestamp
Return only records that changed after this time, oldest change first. ISO 8601, for example 2026-11-26T09:00:00Z. See Keeping in sync.

Retrieve a tender

GET/tenders/{id}

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.

GET/companies
Query parameters
qstring
Keywords, for example part of a company name.
roleslist
Roles on records, for example agent, applicant or buyer.
limitinteger
Results per page, from 1 to 100. Default 25.
cursorstring
The next_cursor from the previous page.
changed_sincetimestamp
Return only records that changed after this time, oldest change first. ISO 8601, for example 2026-11-26T09:00:00Z. See Keeping in sync.
GET/companies/{id}

Contacts

People linked to projects and tenders. To list the people on one project, retrieve the project and read its contacts.

GET/contacts
Query parameters
qstring
Keywords, for example a name.
company_iduuid
People at one company.
limitinteger
Results per page, from 1 to 100. Default 25.
cursorstring
The next_cursor from the previous page.
changed_sincetimestamp
Return only records that changed after this time, oldest change first. ISO 8601, for example 2026-11-26T09:00:00Z. See Keeping in sync.
GET/contacts/{id}

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.

POST/contacts/{id}/enrich
Contact look-ups
1 if new details are found. Free if we already hold an email and phone, or find nothing.
statusMeaning
enrichedNew details were found and saved.
already_knownWe already hold an email and phone for this person.
not_foundWe 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.

GET/profile
PUT/profile
Permission
The key needs Change lead profile

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.

Request
curl -X PUT https://app.strukta.io/api/v1/profile \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{ "regions": ["London", "South East"], "planningStages": ["Early Planning"] }'

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.

GET/filter-options/{type}

type is projects, tenders or companies.

Response
{
  "stages": [
    { "value": "Early Planning", "label": "Early Planning", "count": 16015 },
    { "value": "Plans Approved", "label": "Plans Approved", "count": 2254 }
  ],
  "councils": [
    { "value": "camden", "label": "Camden", "count": 319 }
  ]
}

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:

SettingWhat it does
AddressAn https URL that accepts a POST request.
SendMy leads inbox, with the fits and types you choose, or one of your saved searches.
Find contact detailsOn by default. Looks up missing details for the agents on each project lead before sending, using your contact look-ups.
Also send my existing leadsOn 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}.

Request body
{
  "type": "leads",
  "webhook_id": "0e6c1b2a-7d4f-4f1e-9c3a-5b7d9e1f3a20",
  "source": "leads_inbox",
  "sent_at": "2026-11-27T09:12:03Z",
  "leads": [
    {
      "event": "new",
      "fit": "strong",
      "matched_on": [{ "kind": "sector", "label": "Education" }],
      "matched_at": "2026-11-27T09:04:11Z",
      "record": { "id": "6f1c2a4e-...", "type": "project", "...": "..." }
    }
  ]
}

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:

HeaderValue
X-Strukta-TimestampUnix time the delivery was signed.
X-Strukta-Signaturev1= followed by the hex HMAC-SHA256 of {timestamp}.{raw body}, using your secret.
Node.js
import crypto from "node:crypto";

function isFromStrukta(rawBody, timestamp, signature, secret) {
  const expected = "v1=" + crypto
    .createHmac("sha256", secret)
    .update(`${timestamp}.${rawBody}`)
    .digest("hex");
  const fresh = Math.abs(Date.now() / 1000 - Number(timestamp)) < 300;
  return fresh && crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(signature));
}
Python
import hashlib, hmac, time

def is_from_strukta(raw_body: bytes, timestamp: str, signature: str, secret: str) -> bool:
    expected = "v1=" + hmac.new(
        secret.encode(), f"{timestamp}.".encode() + raw_body, hashlib.sha256
    ).hexdigest()
    fresh = abs(time.time() - int(timestamp)) < 300
    return fresh and hmac.compare_digest(expected, signature)

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.

We only send to https addresses on the public internet, and we do not follow redirects.

Connect with Make

Works on Make's free plan.

  1. In Make, create a scenario and add Webhooks, Custom webhook as the trigger. Copy the address it gives you.
  2. In Strukta, open Account, API, add a webhook with that address, and click Send test.
  3. Back in Make, add an Iterator over leads, then your CRM module, for example HubSpot CRM, Create or update a contact.
  4. 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.

  1. Create a Zap with the trigger Webhooks by Zapier, Catch Hook. Copy the address.
  2. Add it as a webhook in Strukta and click Send test, then Test trigger in Zapier.
  3. Add Looping by Zapier over leads, then your CRM action.
  4. 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.

  1. Create an Automated cloud flow with the trigger When a HTTP request is received. Save it and copy the address.
  2. Add it as a webhook in Strukta and click Send test.
  3. Add Parse JSON on the body, then Apply to each over leads.
  4. Inside the loop, add Dataverse, Add a new row on the Leads table and map the fields.

Common CRM mappings

Strukta fieldTypical CRM field
record.titleLead or deal name
record.idA unique id field, to match updates to the same record
record.stageLead status
record.councilCity or region
record.contacts[].name, .email, .phoneContact name, email and phone
record.buyer_nameCompany
record.deadline_dateClose date
record.app_urlNotes or website
fitLead 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

FieldTypeDescription
iduuidStrukta id. Stable.
referencestringCouncil planning reference.
titlestringShort plain-English title.
descriptionstringProposal text from the council. Full record only.
stagestringPlanning stage, for example Early Planning.
decisionstringDecision, where one has been made.
application_typestringFull, Outline, Reserved matters and so on.
sectorstringEnd-use sector.
received_date, validated_date, decision_datedateKey dates.
council, council_codestringPlanning authority.
regionstringOne of the 12 regions.
address, postcode, latitude, longitudeSite location.
applicant_namestringApplicant, as published by the council. Full record only.
agent_name, agent_company, agent_email, agent_phonestringPlanning agent. Full record only.
companiesarrayLinked companies: id, name, role, company_number. Full record only.
contactsarrayLinked people: id, name, role, company_id, company_name, email, phone. Full record only.
source_urlstringThe council record.
app_urlstringThe record in Strukta.
changed_attimestampLast change to the content.

Tender

FieldTypeDescription
iduuidStrukta id. Stable.
title, summary, descriptionstringNotice text. Description in the full record only.
buyer_name, buyer_typestringBuyer.
buyer_contact_name, buyer_contact_emailstringBuyer contact, where published. Full record only.
notice_type, status, opportunity_typestringKind and state of the notice.
sectorstringEnd-use sector.
cpv_codesarrayCPV codes.
value_band, value_low_gbp, value_high_gbp, value_awarded_gbpValue, where published.
published_date, deadline_date, award_datedateKey dates.
contract_start_date, contract_end_datedateContract period.
awarded_to_name, awarded_to_company_idWinning supplier, where awarded.
region, postcodestringPlace of performance, where published.
source_url, app_url, changed_atAs 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

The Teams plan, at £100 a month or £1,000 a year. It includes two logins. The account admin creates API keys and webhooks; the second login is a Pro user in the app. API keys work once the plan is paid.
No. We never ask for your CRM login. Webhooks send leads to an address you control, such as a Make, Zapier or Power Automate step, and that step writes them into your CRM.
Planning applications come from the public planning portals of more than 350 UK councils. Tenders come from the official UK tender services. Every record links back to its public source.
We refresh from the sources every day, and your leads update every morning.
Any CRM that Make, Zapier or Power Automate can write to, which covers HubSpot, Salesforce, Pipedrive, Zoho, Dynamics 365 and most others. Developers can also call the API directly from their own systems.
Your leads are included in the plan, by API or webhook. Limits are set well above normal use, so a genuine integration will not reach them.
Everything keeps working. Leads still arrive and records still load, with the contact details we already hold. New look-ups resume on the 1st of the month.

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.

See Teams pricing