canonical: https://jentic.com/apis/service.gov.uk/service

# Service Blue Badge Management Service

The Blue Badge Management Service API lets UK local authorities issue, look up, and administer Blue Badges, the disabled parking permits run by the Department for Transport. Authorities can order badges for a person or organisation, retrieve a badge by badgeNumber or an enforcement summary of it, search badges by name, postCode, nino, statuses, and date ranges, and request replacements, cancellations, or reinstatement. It also manages badge applications through create, find, update, and transfer to another authority, and holds local authority reference data such as postcode-to-authority lookups and contact details.

## For AI agents

Look up and verify Blue Badges, order, replace, cancel, or reinstate them, and manage Blue Badge applications and local authority reference data for a UK council.

## Scope

Does not handle parking payments, penalty charge notices, or disability benefit claims. Use for Blue Badge issuing, lookup, enforcement checks, and application management by UK local authorities only.

## Capabilities

- Retrieve a Blue Badge by badgeNumber, limited to badges from your own local authority
- Get an enforcement summary for a badge so a parking officer can check it
- Search badges by name, postCode, nino, statuses, and start, expiry, ordered, or issued date ranges
- Order badges with party details, applicationDate, startDate, expiryDate, and delivery options
- Request a replacement with replaceReasonCode, a cancellation with cancelReasonCode, or a reinstatement
- Create, find, update, and transfer Blue Badge applications between local authorities
- Find the local authority for a postcode and read its details by lashortcode

## Use cases

### AI Agent Badge Caseworker Through Jentic

A council caseworker's assistant connected through Jentic can look up badges and applications without anyone hand-wiring the OAuth2 client credentials exchange. It searches by intent, such as 'look up a Blue Badge', receives retrieveBlueBadge with its input schema, and calls it with the badgeNumber. Applications and reference data follow the same discovery path, so the assistant can answer a case question from live records.

Example prompt: Search Jentic for 'look up a Blue Badge', load retrieveBlueBadge, and call it with the badgeNumber from the caseworker's note, then summarise its status and expiry

### Parking Enforcement Checks

Civil enforcement officers need a quick, limited view of a badge. The enforcement operation returns a Blue Badge summary for enforcement purposes from the badgeNumber in the path, so an enforcement tool can confirm a badge without pulling the holder's full record.

Example prompt: Call GET `/badges/{badgeNumber}/enforcement` with the badge number read from a windscreen and report whether a summary is returned or a 404

### Badge Replacement and Cancellation

Lost or damaged badges need replacing, and badges for holders who have died or moved need cancelling. The replacement request takes replaceReasonCode, deliverToCode, and deliveryOptionCode; the cancellation request takes cancelReasonCode and takes effect immediately; and a cancelled badge can be reinstated if the cancellation was made in error.

Example prompt: Call POST `/badges/{badgeNumber}/replacements` with badgeNumber, replaceReasonCode, deliverToCode, and deliveryOptionCode taken from the holder's request

### Application Routing by Postcode

Applications sometimes land with the wrong council. The agent finds applications with filters such as postcode, applicationStatus, and from and to dates, looks up the correct local authority for the applicant's postcode, and transfers the application with transferToLaShortCode.

Example prompt: Call GET /applications with applicationStatus and a from date, GET `/reference-data/postcode/{postcode}` for each applicant, and POST `/applications/{applicationId}/transfers` with transferToLaShortCode where the authority differs

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/badges/{badgeNumber}` | Retrieve a Blue Badge |
| GET | `/badges/{badgeNumber}/enforcement` | Enforcement summary for a badge |
| GET | `/badges` | Find Blue Badges |
| POST | `/badges` | Order badges |
| POST | `/badges/{badgeNumber}/replacements` | Request a replacement badge |
| POST | `/badges/{badgeNumber}/cancellations` | Request badge cancellation |
| GET | `/applications` | Find applications |
| GET | `/reference-data/postcode/{postcode}` | Local authority for a postcode |

## Key resources

- **Badges** — Order, retrieve, search, update, replace, cancel, reinstate, and delete badges; enforcement summaries
- **Applications** — Create, find, retrieve, update, delete, and transfer badge applications
- **Reference data** — Postcode-to-authority lookup and local authority and council details
- **OAuth token** — Exchange client credentials for an access token

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 70 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 74 / 100
  - Developer Experience & Jentic Compatibility: 68 / 100
  - AI-Readiness & Agent Experience: 54 / 100
  - Agent Usability: 94 / 100
  - Security: 85 / 100
  - AI Discoverability: 65 / 100
- **View full report:** https://jentic.com/apis/service.gov.uk/service/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring the Blue Badge API by hand means running its OAuth2 client credentials exchange with a Basic header, renewing the token before it expires, and choosing between the integration server and the mock yourself. Through Jentic you install once, import the Blue Badge Management Service from the API Directory, store the client credentials once, and your agent calls it.
- **Permission scoping:** The API puts the badgeNumber, applicationId, and local authority shortCode in the URL path, so a rule can pin your agent to the enforcement summary or to one authority's reference data and the operations you pick. You choose the operations it may call, so destructive ones like deleteBlueBadge or cancelBlueBadge are not included unless you add them.
- **Credential handling:** Your Blue Badge client credentials are stored once, encrypted, by your own Jentic One instance and injected at execution time. They never enter the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'look up a Blue Badge' or 'transfer an application to another council', and Jentic returns the matching Blue Badge operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Ideal Postcodes API** — UK address lookup by postcode
- **ParkingAid API** — Parking availability predictions by location
- **Companies House API** — UK company records from Companies House

## FAQ

### Is there a Blue Badge API MCP server?

You don't need an MCP server to give your agent the Blue Badge Management Service. Jentic connects it directly from the API Directory: import it, store your OAuth2 client credentials once, and your agent calls the badge and application operations it needs.

### Can I limit what my agent is allowed to do with the Blue Badge API?

Yes. For an enforcement helper, write a rule that allows only GET `/badges/{badgeNumber}/enforcement.` The agent can confirm badges by number and nothing more: it cannot read full holder records, order or cancel badges, or touch applications, and every lookup is logged by your self-hosted instance.

### What authentication does the Blue Badge Management Service API use?

Per its OpenAPI spec, the API uses OAuth2 with the admin scope, declaring both client credentials and authorization code flows. For client credentials you POST grant_type to `/oauth/token` with your client_id and client_secret in a Basic Authorization header; the spec says the token expires after six hours. Through Jentic the client credentials are stored encrypted by your own Jentic One instance and the token is injected at call time.

### Can I search Blue Badges by holder details?

Yes. GET /badges accepts name (partial match) and exact-match filters including postCode, nino, statuses, eligibilityCode, and start, expiry, ordered, and issued date ranges; at least one filter is required. Retrieval by badge number only returns badges from your own local authority.

### Which environment does the spec point to?

The first server in the spec is the integration environment at api.int.apply-blue-badge.service.gov.uk, and the second is a SwaggerHub mock. Access is for UK local authorities, which onboard to the live service through the Department for Transport.

### What are the rate limits for the Blue Badge Management Service API?

The OpenAPI spec does not state rate limits. Check https://www.gov.uk/government/organisations/department-for-transport for the terms that apply to your authority.

### How do I check a Blue Badge for enforcement through Jentic?

Search Jentic for 'check a Blue Badge for enforcement' and it returns retrieveBlueBadgeEnforcement. Call it with the badgeNumber in the path; a 404 means no badge matches. To run it on your own infrastructure, install Jentic One from its GitHub repo.
