skip to main content

Danny Barker Web Design API and developer documentation

Everything on this website is available to software and AI agents as well as to people. This page documents the ways in: a read-only REST API, an MCP server, Markdown versions of every page, site search and agent skills. They are free and public: there is no sign-up, no API key and nothing to install.

When to use it

Use these interfaces when you, or an agent working for you, need accurate and current information about DBWD itself: what a service includes, which sectors we work in, our case studies, our blog, or how to contact us and start a project. They are not a general marketing knowledge base, and they cannot send an enquiry for you - to do that, use the project enquiry form, email or telephone.

For a single question, search the site and read the best page. To work through many pages, use the REST API's /pages list or the full text in /llms-full.txt.

REST API (v1)

A read-only JSON API over HTTPS GET. No authentication. Responses are UTF-8 JSON; errors are problem details.

Endpoint Returns
GET /api/v1 The endpoints, documentation links and rate limit
GET /api/v1/search?q={query} Ranked search results; optional limit (1-20, default 8)
GET /api/v1/pages Every page as a summary, cursor-paginated; optional section (company, services, sectors, legal, blog), limit (1-100, default 20) and cursor
GET /api/v1/pages/{page} One site page with its Markdown, e.g. /api/v1/pages/website-design (the homepage is index)
GET /api/v1/blog/{slug} One blog article with its Markdown
GET /api/v1/organization Our name, telephone, email, address and enquiry links

Example: search

curl "https://www.dbwd.co.uk/api/v1/search?q=hubspot+crm&limit=2"
{
  "query": "hubspot crm",
  "count": 2,
  "results": [
    {
      "rank": 1,
      "score": 90.238,
      "page": {
        "key": "hubspot-and-crm-solutions",
        "name": "Hubspot & CRM Solutions",
        "title": "Hubspot Partner Bedfordshire. CRM Implementation Specialists.",
        "description": "We are a CRM Agency in Bedfordshire. ...",
        "section": "services",
        "url": "https://www.dbwd.co.uk/hubspot-and-crm-solutions.html",
        "markdown_url": "https://www.dbwd.co.uk/md/hubspot-and-crm-solutions.md",
        "api_url": "https://www.dbwd.co.uk/api/v1/pages/hubspot-and-crm-solutions",
        "last_modified": "2026-11-30",
        "tokens": 1256
      },
      "excerpt": "A HubSpot Partner based in Bedfordshire Implementing software can be a scary prospect ..."
    },
    ...
  ]
}

Example: list every page

Lists are cursor-based. Pass pagination.next_cursor back as cursor (with the same section), or follow pagination.next_url, until has_more is false. Cursors are opaque: use them unchanged.

curl "https://www.dbwd.co.uk/api/v1/pages?section=services&limit=5"
{
  "data": [ { "key": "ai-consultancy", "name": "AI Consultancy", ... }, ... ],
  "pagination": {
    "limit": 5,
    "has_more": true,
    "next_cursor": "eyJvIjo1LCJzIjoic2VydmljZXMifQ",
    "next_url": "https://www.dbwd.co.uk/api/v1/pages?section=services&limit=5&cursor=eyJvIjo1LCJzIjoic2VydmljZXMifQ"
  }
}

Errors

Every error is an RFC 9457 problem details object, sent as application/problem+json. Besides the standard type, title, status, detail and instance, it has a stable machine-readable code, a resolution saying how to fix the request and, for parameter errors, the parameter at fault. Act on code, not on the wording.

{
  "type": "https://www.dbwd.co.uk/developers.html#error-invalid-parameter",
  "title": "Invalid parameter",
  "status": 400,
  "detail": "`limit` must be a whole number from 1 to 100.",
  "instance": "/api/v1/pages",
  "code": "invalid_parameter",
  "resolution": "Leave limit out to use the default of 20.",
  "parameter": "limit"
}
Code Status Meaning
missing_parameter 400 A required parameter, such as q, was not sent.
invalid_parameter 400 A parameter is out of range or not one of the allowed values.
invalid_cursor 400 The cursor was altered, or was issued for a different section.
page_not_found 404 There is no page or blog article with that key.
not_found 404 There is no endpoint, API version or data file at that address.
method_not_allowed 405 The API is read-only: use GET or HEAD.
rate_limited 429 Too many requests. Wait for the Retry-After interval.
service_unavailable 503 The site index is being rebuilt. Retry after Retry-After seconds.
internal_error 500 Something went wrong on our side. Retry later.

Rate limits

Each client IP address can make 120 requests per 60-second window. Every response says where you stand, in the IETF RateLimit-Policy and RateLimit fields and in the older RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset headers. Over the limit, you get 429 with a Retry-After header; wait that many seconds before trying again.

RateLimit-Policy: "default";q=120;w=60
RateLimit: "default";r=117;t=42
RateLimit-Limit: 120
RateLimit-Remaining: 117
RateLimit-Reset: 42

Versioning and deprecation

The major version is part of the path: /api/v1. Within v1 we only make backwards-compatible changes - new fields, new endpoints or new optional parameters - so ignore fields you do not recognise. Anything that would break a client will be released as a new path, /api/v2, alongside v1.

Before a version is retired, it is marked deprecated in the OpenAPI description and on this page, and every response from it carries a Deprecation header (RFC 9745) and a Sunset header (RFC 8594) giving the date it will stop answering, at least six months ahead. Responses also link to this policy with Link: <…#versioning>; rel="deprecation". Version 1 is current and has no sunset date.

MCP server

The same content is available to AI assistants through our Model Context Protocol server at https://www.dbwd.co.uk/mcp (Streamable HTTP, no authentication), with the tools search_site, get_page, list_pages and get_contact_details. It is listed in the official MCP Registry as uk.co.dbwd/website. See the MCP server page for how to connect Claude, ChatGPT, VS Code, Cursor and other clients.

Markdown pages and site search

Every page on the site has a Markdown version with YAML front matter (title, description, canonical URL and last modified date). Request any page URL with Accept: text/markdown, or fetch it directly from /md/: the homepage is /md/index.md and blog articles are /md/blog/{slug}.md. An address that does not exist answers 404 with a Markdown explanation.

curl -H "Accept: text/markdown" https://www.dbwd.co.uk/website-design.html

Site search is also available as Markdown at GET /.well-known/search?q={query}, following the Search for Agents convention.

Agent skills and discovery files

Questions and support

These interfaces are provided as they are, free of charge. If something does not work as documented, or you are building something with them, email [email protected].