> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Lookup addresses

> You have a UK postcode and need the uprn of a specific address before searching deals. Fails with not_found for a postcode Royal Mail does not know.

## Request contract

* **Method and path:** POST /apis/v1/uswitch-com/products/lookup-addresses
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/uswitch-com/products/lookup-addresses`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/uswitch-com.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "uswitch-com.products.lookup-addresses",
  "method": "POST",
  "path": "/apis/v1/uswitch-com/products/lookup-addresses",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "provider": {
            "summary": "Official provider example; checked against AIsa request constraints",
            "value": {
              "postcode": "E17 4LN"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "postcode": {
              "description": "Full UK postcode, e.g. 'E17 4LN' (case and inner space are normalised). Pattern: ^[A-Za-z]{1,2}[0-9][0-9A-Za-z]?\\s*[0-9][A-Za-z]{2}$.",
              "type": "string"
            }
          },
          "required": [
            "postcode"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Usage-based pricing. Default request estimate: \$0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/uswitch-com.json POST /apis/v1/uswitch-com/products/lookup-addresses
openapi: 3.1.0
info:
  description: ''
  title: Uswitch broadband
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    uswitch-com:
      description: ''
      title: Uswitch broadband
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 9a94161891e53215b0130126b2a43323de9604df6c9d9ba21ef85cdeb9a9eb07
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/uswitch-com/products/get-deal
    - /apis/v1/uswitch-com/products/get-provider-reviews
    - /apis/v1/uswitch-com/products/list-providers
    - /apis/v1/uswitch-com/products/lookup-addresses
    - /apis/v1/uswitch-com/products/search-deals
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:d232b3a805ce8d43f1e74e806262a8d717b305731b631d946112818bee975b6a
    facts_hash: 9a94161891e53215b0130126b2a43323de9604df6c9d9ba21ef85cdeb9a9eb07
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: uswitch-com
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/uswitch-com/products/lookup-addresses:
    post:
      tags:
        - Uswitch broadband
      summary: Lookup addresses
      description: >-
        You have a UK postcode and need the uprn of a specific address before
        searching deals. Fails with not_found for a postcode Royal Mail does not
        know.
      operationId: uswitch-com.products.lookup-addresses
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  postcode: E17 4LN
            schema:
              additionalProperties: true
              properties:
                postcode:
                  description: >-
                    Full UK postcode, e.g. 'E17 4LN' (case and inner space are
                    normalised). Pattern:
                    ^[A-Za-z]{1,2}[0-9][0-9A-Za-z]?\s*[0-9][A-Za-z]{2}$.
                  type: string
              required:
                - postcode
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-13.
                  summary: Official provider example
                  value:
                    addresses:
                      - address_line_1: Chapel End Infant School
                        address_line_2: 3 Beresford Road
                        building_name: null
                        building_number: '3'
                        is_domestic: false
                        organisation: CHAPEL END INFANT SCHOOL
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: >-
                          Chapel End Infant School, 3 Beresford Road, London,
                          E17 4LN
                        udprn: '8128172'
                        uprn: '200001448611'
                      - address_line_1: 63A Beresford Road
                        address_line_2: null
                        building_name: 63A
                        building_number: null
                        is_domestic: true
                        organisation: null
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: 63A Beresford Road, London, E17 4LN
                        udprn: '57339088'
                        uprn: '10095407016'
                      - address_line_1: 1 Beresford Road
                        address_line_2: null
                        building_name: null
                        building_number: '1'
                        is_domestic: true
                        organisation: null
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: 1 Beresford Road, London, E17 4LN
                        udprn: '8128175'
                        uprn: '100022519833'
                      - address_line_1: 27 Beresford Road
                        address_line_2: null
                        building_name: null
                        building_number: '27'
                        is_domestic: true
                        organisation: null
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: 27 Beresford Road, London, E17 4LN
                        udprn: '8128176'
                        uprn: '100022519883'
                      - address_line_1: 29 Beresford Road
                        address_line_2: null
                        building_name: null
                        building_number: '29'
                        is_domestic: true
                        organisation: null
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: 29 Beresford Road, London, E17 4LN
                        udprn: '8128177'
                        uprn: '100022519887'
                      - address_line_1: 31 Beresford Road
                        address_line_2: null
                        building_name: null
                        building_number: '31'
                        is_domestic: true
                        organisation: null
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: 31 Beresford Road, London, E17 4LN
                        udprn: '8128178'
                        uprn: '100022519892'
                      - address_line_1: 33 Beresford Road
                        address_line_2: null
                        building_name: null
                        building_number: '33'
                        is_domestic: true
                        organisation: null
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: 33 Beresford Road, London, E17 4LN
                        udprn: '8128179'
                        uprn: '100022519896'
                      - address_line_1: 35 Beresford Road
                        address_line_2: null
                        building_name: null
                        building_number: '35'
                        is_domestic: true
                        organisation: null
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: 35 Beresford Road, London, E17 4LN
                        udprn: '8128180'
                        uprn: '100022519900'
                      - address_line_1: 37 Beresford Road
                        address_line_2: null
                        building_name: null
                        building_number: '37'
                        is_domestic: true
                        organisation: null
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: 37 Beresford Road, London, E17 4LN
                        udprn: '8128181'
                        uprn: '100022519904'
                      - address_line_1: 39 Beresford Road
                        address_line_2: null
                        building_name: null
                        building_number: '39'
                        is_domestic: true
                        organisation: null
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: 39 Beresford Road, London, E17 4LN
                        udprn: '8128182'
                        uprn: '100022519908'
                      - address_line_1: 41 Beresford Road
                        address_line_2: null
                        building_name: null
                        building_number: '41'
                        is_domestic: true
                        organisation: null
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: 41 Beresford Road, London, E17 4LN
                        udprn: '8128183'
                        uprn: '100023696218'
                      - address_line_1: First Floor Flat
                        address_line_2: 41 Beresford Road
                        building_name: null
                        building_number: '41'
                        is_domestic: true
                        organisation: null
                        post_town: Walthamstow
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: >-
                          First Floor Flat, 41 Beresford Road, Walthamstow, E17
                          4LN
                        udprn: null
                        uprn: '100022519912'
                      - address_line_1: Ground Floor Flat
                        address_line_2: 41 Beresford Road
                        building_name: null
                        building_number: '41'
                        is_domestic: true
                        organisation: null
                        post_town: Walthamstow
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: >-
                          Ground Floor Flat, 41 Beresford Road, Walthamstow, E17
                          4LN
                        udprn: null
                        uprn: '100022519913'
                      - address_line_1: 43 Beresford Road
                        address_line_2: null
                        building_name: null
                        building_number: '43'
                        is_domestic: true
                        organisation: null
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: 43 Beresford Road, London, E17 4LN
                        udprn: '8128184'
                        uprn: '100023696219'
                      - address_line_1: First Floor Flat
                        address_line_2: 43 Beresford Road
                        building_name: null
                        building_number: '43'
                        is_domestic: true
                        organisation: null
                        post_town: Walthamstow
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: >-
                          First Floor Flat, 43 Beresford Road, Walthamstow, E17
                          4LN
                        udprn: null
                        uprn: '100022519917'
                      - address_line_1: Ground Floor Flat
                        address_line_2: 43 Beresford Road
                        building_name: null
                        building_number: '43'
                        is_domestic: true
                        organisation: null
                        post_town: Walthamstow
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: >-
                          Ground Floor Flat, 43 Beresford Road, Walthamstow, E17
                          4LN
                        udprn: null
                        uprn: '100022519918'
                      - address_line_1: 45 Beresford Road
                        address_line_2: null
                        building_name: null
                        building_number: '45'
                        is_domestic: true
                        organisation: null
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: 45 Beresford Road, London, E17 4LN
                        udprn: '8128185'
                        uprn: '100023696220'
                      - address_line_1: First Floor Flat
                        address_line_2: 45 Beresford Road
                        building_name: null
                        building_number: '45'
                        is_domestic: true
                        organisation: null
                        post_town: Walthamstow
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: >-
                          First Floor Flat, 45 Beresford Road, Walthamstow, E17
                          4LN
                        udprn: null
                        uprn: '100022519922'
                      - address_line_1: Ground Floor Flat
                        address_line_2: 45 Beresford Road
                        building_name: null
                        building_number: '45'
                        is_domestic: true
                        organisation: null
                        post_town: Walthamstow
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: >-
                          Ground Floor Flat, 45 Beresford Road, Walthamstow, E17
                          4LN
                        udprn: null
                        uprn: '100022519923'
                      - address_line_1: 47 Beresford Road
                        address_line_2: null
                        building_name: null
                        building_number: '47'
                        is_domestic: true
                        organisation: null
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: 47 Beresford Road, London, E17 4LN
                        udprn: '8128186'
                        uprn: '100022519927'
                      - address_line_1: First Floor Flat 2
                        address_line_2: 47 Beresford Road
                        building_name: null
                        building_number: '47'
                        is_domestic: true
                        organisation: null
                        post_town: Walthamstow
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: >-
                          First Floor Flat 2, 47 Beresford Road, Walthamstow,
                          E17 4LN
                        udprn: null
                        uprn: '10009143854'
                      - address_line_1: Ground Floor Flat 1
                        address_line_2: 47 Beresford Road
                        building_name: null
                        building_number: '47'
                        is_domestic: true
                        organisation: null
                        post_town: Walthamstow
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: >-
                          Ground Floor Flat 1, 47 Beresford Road, Walthamstow,
                          E17 4LN
                        udprn: null
                        uprn: '10009143168'
                      - address_line_1: 49 Beresford Road
                        address_line_2: null
                        building_name: null
                        building_number: '49'
                        is_domestic: true
                        organisation: null
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: 49 Beresford Road, London, E17 4LN
                        udprn: '8128173'
                        uprn: '100023696222'
                      - address_line_1: Flat 1
                        address_line_2: 49 Beresford Road
                        building_name: null
                        building_number: '49'
                        is_domestic: true
                        organisation: null
                        post_town: Walthamstow
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: Flat 1, 49 Beresford Road, Walthamstow, E17 4LN
                        udprn: null
                        uprn: '200001448570'
                      - address_line_1: Flat 2
                        address_line_2: 49 Beresford Road
                        building_name: null
                        building_number: '49'
                        is_domestic: true
                        organisation: null
                        post_town: Walthamstow
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: Flat 2, 49 Beresford Road, Walthamstow, E17 4LN
                        udprn: null
                        uprn: '200001448571'
                      - address_line_1: 51 Beresford Road
                        address_line_2: null
                        building_name: null
                        building_number: '51'
                        is_domestic: true
                        organisation: null
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: 51 Beresford Road, London, E17 4LN
                        udprn: '8128187'
                        uprn: '100022519940'
                      - address_line_1: 53 Beresford Road
                        address_line_2: null
                        building_name: null
                        building_number: '53'
                        is_domestic: true
                        organisation: null
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: 53 Beresford Road, London, E17 4LN
                        udprn: '8128188'
                        uprn: '100022519943'
                      - address_line_1: 55 Beresford Road
                        address_line_2: null
                        building_name: null
                        building_number: '55'
                        is_domestic: true
                        organisation: null
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: 55 Beresford Road, London, E17 4LN
                        udprn: '8128189'
                        uprn: '100022519946'
                      - address_line_1: 57 Beresford Road
                        address_line_2: null
                        building_name: null
                        building_number: '57'
                        is_domestic: true
                        organisation: null
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: 57 Beresford Road, London, E17 4LN
                        udprn: '8128190'
                        uprn: '100022519950'
                      - address_line_1: 59 Beresford Road
                        address_line_2: null
                        building_name: null
                        building_number: '59'
                        is_domestic: true
                        organisation: null
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: 59 Beresford Road, London, E17 4LN
                        udprn: '8128191'
                        uprn: '100022519954'
                      - address_line_1: 61 Beresford Road
                        address_line_2: null
                        building_name: null
                        building_number: '61'
                        is_domestic: true
                        organisation: null
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: 61 Beresford Road, London, E17 4LN
                        udprn: '8128192'
                        uprn: '100022519958'
                      - address_line_1: 63 Beresford Road
                        address_line_2: null
                        building_name: null
                        building_number: '63'
                        is_domestic: true
                        organisation: null
                        post_town: London
                        postcode: E17 4LN
                        street: Beresford Road
                        summary_line: 63 Beresford Road, London, E17 4LN
                        udprn: '8128193'
                        uprn: '100022519962'
                    count: 32
                    observed_at_ms: 1791923122162
                    postcode: E17 4LN
                    source_url: https://www.uswitch.com/broadband/uprn-lookup
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            List the addresses (with UPRNs) at a UK postcode from Uswitch's
            address lookup. Step one of a postcode comparison: pick the address,
            then call search_deals with its uprn.


            The response contains the tool result directly.


            The provider identifies `addresses` as the primary payload key.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `address_line_1` | string |  |

            | `address_line_2` | string |  |

            | `building_name` | string |  |

            | `building_number` | string |  |

            | `is_domestic` | boolean | True for residential delivery points. |

            | `organisation` | string | Organisation name for non-residential
            delivery points. |

            | `post_town` | string |  |

            | `postcode` | string |  |

            | `street` | string |  |

            | `summary_line` | string | Full one-line address as Uswitch shows
            it. |

            | `udprn` | string | Royal Mail Unique Delivery Point Reference
            Number. |

            | `uprn` | string | Unique Property Reference Number; pass it with
            the postcode to search_deals. |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.