Build with AI
Drop Ideal Postcodes into any AI workflow — from coding agents driving a repo to chat-driven app builders generating a frontend.
Prerequisite: API key
- Quick test: use
ak_test. Public, capped at 5 lookups/day, will break in production. - Real testing: sign up for a free trial key with a real test balance.
- Three ways to sign up: MCP (coming soon), CLI (
idpc keys create), or the web dashboard. - Lock it down before going live: restrict the key to your origin via Allowed URLs.
Resources
Ordered by what an agent should reach for first.
- llms.txt — full API reference, integration guides, and widget docs as one file. Paste into a model's context, or wire into a docs MCP server like Context7.
- MCP server — coming soon. Will surface API docs, dataset metadata, and key management as MCP tools.
- CLI —
npm install -g @ideal-postcodes/cli. Built for agents: JSON output in non-TTY, stable exit codes, no interactive prompts under pipes. Subcommands:auth,keys,cleanse,find,lookup. Use a backend key (no Allowed URLs). - Address Finder — multi-country address autocomplete widget. Use when the form takes international addresses.
- Postcode Lookup — UK postcode → address dropdown. Use when the form is UK-only and the user enters a postcode first.
- Per-page markdown — append
.mdto any docs URL for the plain-text version (e.g./docs/address-finder.md).
AI builder guides
Per-platform setup, prompts, and key-storage instructions live in Build with AI integrations.
Coding Agents
AI App Builders
Need help?
- File an issue: github.com/ideal-postcodes/feedback
- Email: support@ideal-postcodes.co.uk