> ## 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

# Get deal

> You have a deal_id from search_deals and want the complete record. Fails with not_found for an unknown or expired deal_id.

## Request contract

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

[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.get-deal",
  "method": "POST",
  "path": "/apis/v1/uswitch-com/products/get-deal",
  "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": {
              "deal_id": "476473-2457247537"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "deal_id": {
              "description": "Uswitch deal id, e.g. '476473-2457247537'. Pattern: ^[0-9]{1,12}-[0-9]{1,16}$.",
              "type": "string"
            }
          },
          "required": [
            "deal_id"
          ],
          "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/get-deal
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/get-deal:
    post:
      tags:
        - Uswitch broadband
      summary: Get deal
      description: >-
        You have a deal_id from search_deals and want the complete record. Fails
        with not_found for an unknown or expired deal_id.
      operationId: uswitch-com.products.get-deal
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  deal_id: 476473-2457247537
            schema:
              additionalProperties: true
              properties:
                deal_id:
                  description: >-
                    Uswitch deal id, e.g. '476473-2457247537'. Pattern:
                    ^[0-9]{1,12}-[0-9]{1,16}$.
                  type: string
              required:
                - deal_id
              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:
                    availability: null
                    broadband:
                      connection_type: null
                      download_limit_gb: 0
                      download_speed_mbps: 1000
                      estimated_download_time_seconds: 33
                      fibre: true
                      network_name: null
                      real_speeds: null
                      title: 'Virgin Media Gig1 Fibre broadband '
                      unlimited_downloads: true
                      upload_speed_mbps: 104
                    clickout_target_url: >-
                      https://www.awin1.com/cread.php?clickref={{click_ref}}&awinaffid=100908&awinmid=6399&p=https%3A%2F%2Fwww.virginmedia.com%2Fbuy%2Fquick-checkout%3FbundleId%3D1015
                    clickout_url: >-
                      https://www.uswitch.com/clk/476473/uswitch/broadband?r=https%3A%2F%2Fwww.awin1.com%2Fcread.php%3Fclickref%3D%7B%7Bclick_ref%7D%7D%26awinaffid%3D100908%26awinmid%3D6399%26p%3Dhttps%253A%252F%252Fwww.virginmedia.com%252Fbuy%252Fquick-checkout%253FbundleId%253D1015&sig=7d528cd0ffdc08f5ad3de21e6aa80f4260cf7a3c22d7022c8626ee59f4d14bfc
                    comparison_id: 5e99a8c5-8e47-4e15-8a0d-5ab4dbf7a000
                    contract_length_months: 24
                    currency: GBP
                    customer_availability: NEW
                    deal_id: 476473-2457247537
                    end_date: null
                    features: []
                    observed_at_ms: 1791923135470
                    pricing:
                      average_monthly_cost: 28.32
                      average_monthly_cost_purchase: 28.32
                      intro_promotion: null
                      monthly_breakdown:
                        - end_month: 4
                          monthly_price: 23.99
                          price_rise_date: null
                          reasons:
                            - initial-price
                          start_date: '2026-11-01'
                          start_month: 0
                        - end_month: 16
                          monthly_price: 27.99
                          price_rise_date: '2027-04-01'
                          reasons:
                            - price-rise
                          start_date: '2027-04-01'
                          start_month: 5
                        - end_month: 23
                          monthly_price: 31.99
                          price_rise_date: '2028-04-01'
                          reasons:
                            - price-rise
                          start_date: '2028-04-01'
                          start_month: 17
                      monthly_price: 23.99
                      monthly_price_after_intro: null
                      price_rise:
                        amount_broadband: 4
                        amount_telephone: 0
                        amount_total: 4
                        amount_tv: 0
                        first_rise_year: 2027
                        freeze_months: null
                        from_contract_month: null
                        frozen: false
                        is_fixed_contract: false
                        month: 4
                        no_price_rise: false
                        type: fixed
                      refunded_cost: 0
                      setup_cost: 0
                      total_contract_cost: 679.76
                      upfront_components: []
                      upfront_cost: 0
                    product_id: '12466091'
                    product_version_id: '476473'
                    promotions:
                      - duration_months: null
                        id: '23376'
                        title: £23.99 base price for the duration of the contract
                        type: base-price-override
                        uswitch_exclusive: null
                        value: 23.99
                        worth: 23.99
                    provider:
                      id: '12179'
                      logo_url: >-
                        https://img.uswitch.com/s3/uswitch-assets-eu/broadband/images/providers/virgin-media.png
                      name: Virgin Media
                      phone: 03300 296 397
                    source_url: https://www.uswitch.com/broadband/graphql
                    telephone: null
                    terms: []
                    title: Virgin Media Gig1 Fibre broadband
                    trust_score:
                      review_count: 107756
                      score: 2
                      trustpilot_url: https://uk.trustpilot.com/review/virginmedia.com
                    tv: null
                    uswitch_exclusive: false
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            One Uswitch broadband deal by deal_id: full pricing (monthly,
            average, total, upfront and setup fees, price-rise schedule),
            speeds, contract, promotions, terms, provider contact and Trustpilot
            score, plus the clickout link.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `availability` | string | 'premise' when Uswitch confirmed
            availability at the searched address; null when not checked. |

            | `broadband` | object |  |

            | `clickout_target_url` | string | The URL inside the clickout's r=
            parameter (provider or affiliate network landing page). |

            | `clickout_url` | string | Uswitch tracked redirect to the
            provider's offer; the only per-deal URL Uswitch publishes. |

            | `comparison_id` | string |  |

            | `contract_length_months` | number |  |

            | `currency` | string |  |

            | `customer_availability` | string | Who may take the deal, e.g.
            'NEW'. |

            | `deal_id` | string | Uswitch deal id (productVersionId-hash);
            input to get_deal. |

            | `end_date` | string | Offer end date when stated. |

            | `features` | object[] |  |

            | `observed_at_ms` | number | Unix epoch milliseconds when the
            program read the upstream response. |

            | `pricing` | object |  |

            | `product_id` | string | Uswitch product id. |

            | `product_version_id` | string |  |

            | `promotions` | object[] |  |

            | `provider` | object |  |

            | `source_url` | string |  |

            | `telephone` | object |  |

            | `terms` | object[] |  |

            | `title` | string |  |

            | `trust_score` | object |  |

            | `tv` | object |  |

            | `uswitch_exclusive` | boolean |  |



            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.