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

# Search cities by name or country

> <!-- aisa-pricing:start -->
Usage-based billing; Default request estimate: $0.0103 USD (not a fixed price). Declared unit rate: $0.000001 USD per provider_credit. Account-specific pricing and final settlement may differ.
<!-- aisa-pricing:end -->

## Request contract

* **Method and path:** POST /apis/v1/companyenrich/search-cities
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/companyenrich/search-cities`
* **Runtime facts:** 820bb7817c59193621186d0a7e630f3f0f7d277be8c4a30ac65cde11e8c585c7

[Complete OpenAPI definition](https://aisa.one/docs/reference-contracts/companyenrich.json)

Effective request and pricing declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "companyenrich.search-cities",
  "method": "POST",
  "path": "/apis/v1/companyenrich/search-cities",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "required": false,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "page": {
              "type": "integer",
              "default": 1,
              "description": "The page number to retrieve. 1-indexed."
            },
            "query": {
              "type": "string",
              "examples": [
                "London",
                "New York",
                "Paris"
              ],
              "maxLength": 30,
              "description": "The city name to search for. Maximum 30 characters."
            },
            "country_codes": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "examples": [
                [
                  "US",
                  "GB"
                ],
                [
                  "AU"
                ]
              ],
              "description": "Filter cities by country codes (ISO 2-letter codes)."
            }
          }
        }
      }
    }
  },
  "x-aisa-status": "enabled",
  "x-aisa-pricing": {
    "cost_contract": "response_units",
    "customer_multiplier": 1.0,
    "customer_pricing": "provider_cost_multiplier",
    "default_request_estimate_usd": 0.0103,
    "estimate_source": "profile_seed",
    "evidence_source": "response_body",
    "maximum_units": 10000000,
    "unit": "provider_credit",
    "unit_rate_usd": 1e-06
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Usage-based billing; Default request estimate: \$0.0103 USD (not a fixed price). Declared unit rate: \$0.000001 USD per provider\_credit. Account-specific pricing and final settlement may differ.

Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.

* **Default request reference estimate (USD):** 0.0103
* **Declared unit rate (USD):** 1e-06
* **Billing unit:** provider\_credit
* **Cost contract:** response\_units
* **Published reference multiplier:** 1.0
* **Declared maximum count/units:** 10000000
* **Settlement evidence source:** response\_body


## OpenAPI

````yaml reference-contracts/companyenrich.json POST /apis/v1/companyenrich/search-cities
openapi: 3.1.0
info:
  description: ''
  title: CompanyEnrich
  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-configured-paths:
    - /apis/v1/companyenrich/autocomplete-keywords
    - /apis/v1/companyenrich/autocomplete-positions
    - /apis/v1/companyenrich/autocomplete-technologies
    - /apis/v1/companyenrich/companies-enrich
    - /apis/v1/companyenrich/companies-enrich-batch
    - /apis/v1/companyenrich/companies-enrich-by-properties
    - /apis/v1/companyenrich/companies-get
    - /apis/v1/companyenrich/companies-search
    - /apis/v1/companyenrich/companies-search-scroll
    - /apis/v1/companyenrich/companies-similar
    - /apis/v1/companyenrich/companies-similar-scroll
    - /apis/v1/companyenrich/companies-workforce
    - /apis/v1/companyenrich/enrich-by-domain
    - /apis/v1/companyenrich/enrich-by-properties
    - /apis/v1/companyenrich/enrich-companies
    - /apis/v1/companyenrich/find-similar-companies
    - /apis/v1/companyenrich/get-company-workforce
    - /apis/v1/companyenrich/get-country-by-code
    - /apis/v1/companyenrich/get-regions
    - /apis/v1/companyenrich/list-industries
    - /apis/v1/companyenrich/lookup-person
    - /apis/v1/companyenrich/people-get
    - /apis/v1/companyenrich/people-lookup
    - /apis/v1/companyenrich/people-search
    - /apis/v1/companyenrich/people-search-scroll
    - /apis/v1/companyenrich/scroll-people-search
    - /apis/v1/companyenrich/search-cities
    - /apis/v1/companyenrich/search-companies
    - /apis/v1/companyenrich/search-countries
    - /apis/v1/companyenrich/search-people
    - /apis/v1/companyenrich/search-states
  x-aisa-document:
    facts_hash: 820bb7817c59193621186d0a7e630f3f0f7d277be8c4a30ac65cde11e8c585c7
    generator_version: '3'
    protocol_version: '1'
    schema_version: '1'
    composer_version: '28'
    response_pending:
      - operation_id: companyenrich.companies-enrich
        path: /apis/v1/companyenrich/companies-enrich
        method: GET
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: companyenrich.companies-search-scroll
        path: /apis/v1/companyenrich/companies-search-scroll
        method: POST
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: companyenrich.companies-similar
        path: /apis/v1/companyenrich/companies-similar
        method: POST
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: companyenrich.companies-similar-scroll
        path: /apis/v1/companyenrich/companies-similar-scroll
        method: POST
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: companyenrich.companies-workforce
        path: /apis/v1/companyenrich/companies-workforce
        method: GET
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: companyenrich.enrich-by-domain
        path: /apis/v1/companyenrich/enrich-by-domain
        method: POST
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: companyenrich.people-search-scroll
        path: /apis/v1/companyenrich/people-search-scroll
        method: POST
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
    document_hash: sha256:e5ef2dd948d4b17da0e058752f22ca8fc5828d080ba3400dd493c52d0e7d5dbb
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: companyenrich
  x-aisa-catalogs:
    companyenrich:
      title: CompanyEnrich
      description: ''
      x-aisa-document:
        facts_hash: 820bb7817c59193621186d0a7e630f3f0f7d277be8c4a30ac65cde11e8c585c7
        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-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/companyenrich/search-cities:
    post:
      tags:
        - CompanyEnrich
      summary: Search cities by name or country
      description: >-
        <!-- aisa-pricing:start -->

        Usage-based billing; Default request estimate: $0.0103 USD (not a fixed
        price). Declared unit rate: $0.000001 USD per provider_credit.
        Account-specific pricing and final settlement may differ.

        <!-- aisa-pricing:end -->
      operationId: companyenrich.search-cities
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                page:
                  type: integer
                  default: 1
                  description: The page number to retrieve. 1-indexed.
                query:
                  type: string
                  examples:
                    - London
                    - New York
                    - Paris
                  maxLength: 30
                  description: The city name to search for. Maximum 30 characters.
                country_codes:
                  type: array
                  items:
                    type: string
                  examples:
                    - - US
                      - GB
                    - - AU
                  description: Filter cities by country codes (ISO 2-letter codes).
      responses:
        '200':
          description: Tool result data
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Response576A0Ea506F3_connect_COMPANYENRICH_SEARCH_CITIES__output__public_data
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response576A0Ea506F3_connect_COMPANYENRICH_SEARCH_CITIES__output__public_data:
      $ref: >-
        #/components/schemas/Response576A0Ea506F3_connect_COMPANYENRICH_SEARCH_CITIES__output__bb54b625354645de
    Response576A0Ea506F3_connect_COMPANYENRICH_SEARCH_CITIES__output__bb54b625354645de:
      type: object
      required:
        - items
      properties:
        page:
          type: integer
        items:
          type: array
          items:
            $ref: >-
              #/components/schemas/Response576A0Ea506F3_connect_COMPANYENRICH_SEARCH_CITIES__output__20e5488793ad7ad2
        totalItems:
          type: integer
        totalPages:
          type: integer
    Response576A0Ea506F3_connect_COMPANYENRICH_SEARCH_CITIES__output__20e5488793ad7ad2:
      type: object
      required:
        - id
      properties:
        id:
          type: integer
        name:
          type: string
        latitude:
          type: number
        longitude:
          type: number
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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