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

# Business

> One local business by its Bing ypid (from `search`): name, structured address, display and E.164 phone, website, coordinates, categories, aggregate rating with review count and source, current open-status sentence, and structured weekly opening hours (per day, 24h HH:MM ranges, all-day flag, closed days). Missing values are null; hours are null when Bing publishes none.

## 请求规范

* **方法与路径:** POST /apis/v1/bing-maps/businesses/business
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/bing-maps/businesses/business`

[完整 OpenAPI 定义](https://aisa.one/docs/openapi-public/zh/bing-maps.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "bing-maps.businesses.business",
  "method": "POST",
  "path": "/apis/v1/bing-maps/businesses/business",
  "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": {
              "ypid": "YNB7EDF204457059FB"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "ypid": {
              "description": "Bing business id returned by search, e.g. \"YNB7EDF204457059FB\". Pattern: ^(ypid:)?YN[0-9A-Fa-f]{4,38}$.",
              "type": "string"
            }
          },
          "required": [
            "ypid"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

按实际用量收费。 默认请求预估费用：\$0.0005 USD。 最终费用以实际用量为准。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi-public/zh/bing-maps.json POST /apis/v1/bing-maps/businesses/business
openapi: 3.1.0
info:
  description: ''
  title: Bing Maps
  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:
    bing-maps:
      description: ''
      title: Bing Maps
      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: 6193888695388b2d4ed178025dbe25530a3db229928b9188fa3a8fadc6faf2af
        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/bing-maps/businesses/business
    - /apis/v1/bing-maps/businesses/search
  x-aisa-document:
    composer_version: '31'
    facts_hash: 6193888695388b2d4ed178025dbe25530a3db229928b9188fa3a8fadc6faf2af
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    public_projection:
      version: '4'
      source_document_hash: sha256:2a1ef61b427aa5a4d360b94223903fa2f9a8fbc7d3aedb7527e0f1b7ea816aa0
    document_hash: sha256:c4da93d9ecdeb7af30313df207983ddbb5acf67665f43093dbafeba596bff3aa
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: bing-maps
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/bing-maps/businesses/business:
    post:
      tags:
        - Bing Maps
      summary: Business
      description: >-
        One local business by its Bing ypid (from `search`): name, structured
        address, display and E.164 phone, website, coordinates, categories,
        aggregate rating with review count and source, current open-status
        sentence, and structured weekly opening hours (per day, 24h HH:MM
        ranges, all-day flag, closed days). Missing values are null; hours are
        null when Bing publishes none.
      operationId: bing-maps.businesses.business
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  ypid: YNB7EDF204457059FB
            schema:
              additionalProperties: true
              properties:
                ypid:
                  description: >-
                    Bing business id returned by search, e.g.
                    "YNB7EDF204457059FB". Pattern:
                    ^(ypid:)?YN[0-9A-Fa-f]{4,38}$.
                  type: string
              required:
                - ypid
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-09-10.
                  summary: Official provider example
                  value:
                    action:
                      name: Menu
                      url: https://franklinbarbecue.com/menu
                    address:
                      city: Austin
                      country: US
                      full: 900 E 11th St, Austin, TX 78702
                      line: 900 E 11th St
                      neighborhood: null
                      postal_code: '78702'
                      state: TX
                    average_stay_minutes: 60
                    categories:
                      - Barbecue
                    category: Barbecue
                    category_path: 30000.30949.30963
                    hours:
                      closed_days:
                        - Mon
                      days:
                        - closed: false
                          day: Tue
                          holiday_hours: false
                          ranges:
                            - all_day: false
                              close: '15:00'
                              open: '11:00'
                        - closed: false
                          day: Wed
                          holiday_hours: false
                          ranges:
                            - all_day: false
                              close: '15:00'
                              open: '11:00'
                        - closed: false
                          day: Thu
                          holiday_hours: false
                          ranges:
                            - all_day: false
                              close: '15:00'
                              open: '11:00'
                        - closed: false
                          day: Fri
                          holiday_hours: false
                          ranges:
                            - all_day: false
                              close: '15:00'
                              open: '11:00'
                        - closed: false
                          day: Sat
                          holiday_hours: false
                          ranges:
                            - all_day: false
                              close: '15:00'
                              open: '11:00'
                        - closed: false
                          day: Sun
                          holiday_hours: false
                          ranges:
                            - all_day: false
                              close: '15:00'
                              open: '11:00'
                        - closed: true
                          day: Mon
                          holiday_hours: false
                          ranges: []
                    image_url: >-
                      https://www.bing.com/th/id/OLC.xiaJJiTR0OQAhA480x360?w=50&h=50&c=7&rs=1&qlt=80&cdv=1&pid=Local
                    latitude: 30.270132064819336
                    longitude: -97.73126220703125
                    maps_url: https://www.bing.com/maps?ss=ypid.YNB7EDF204457059FB
                    name: Franklin Barbecue
                    observed_at_ms: 1789435668169
                    open_status_text: Closed. Opens tomorrow 11 AM
                    phone: +1 512-653-1187
                    phone_e164: '+15126531187'
                    price: null
                    rating: 4.5
                    rating_count: 6477
                    rating_source: Yelp
                    source_url: >-
                      https://www.bing.com/maps/overlaybfpr?q=&filters=local_ypid%3A%22YNB7EDF204457059FB%22&count=1&first=0&setlang=en-US&cc=US
                    style_category: Restaurant
                    website: https://franklinbarbecue.com/
                    ypid: YNB7EDF204457059FB
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            One local business by its Bing ypid (from `search`): name,
            structured address, display and E.164 phone, website, coordinates,
            categories, aggregate rating with review count and source, current
            open-status sentence, and structured weekly opening hours (per day,
            24h HH:MM ranges, all-day flag, closed days). Missing values are
            null; hours are null when Bing publishes none.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `action` | object |  |

            | `address` | object |  |

            | `average_stay_minutes` | number |  |

            | `categories` | string[] |  |

            | `category` | string |  |

            | `category_path` | string |  |

            | `hours` | object |  |

            | `image_url` | string |  |

            | `latitude` | number |  |

            | `longitude` | number |  |

            | `maps_url` | string |  |

            | `name` | string |  |

            | `observed_at_ms` | number |  |

            | `open_status_text` | string | e.g. "Closed. Opens tomorrow 11 AM"
            or "Open 24 hours". |

            | `phone` | string | Phone as Bing prints it, e.g. "+1
            512-653-1187". |

            | `phone_e164` | string |  |

            | `price` | object | Bing PriceInfo when published, otherwise null.
            |

            | `rating` | number | Rating exactly as Bing reports it; scale
            depends on rating_source (for example Yelp versus ZocDoc). |

            | `rating_count` | number |  |

            | `rating_source` | string |  |

            | `source_url` | string |  |

            | `style_category` | string |  |

            | `website` | string |  |

            | `ypid` | string |  |



            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.