{
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "",
    "title": "Bing Search",
    "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/bing-search/search"
    ],
    "x-aisa-document": {
      "facts_hash": "c0c291fcfeb7283f8621a2bbb499a8c165444fad2ded4a325d2bbc3588db6979",
      "generator_version": "3",
      "protocol_version": "1",
      "schema_version": "1",
      "composer_version": "27",
      "response_pending": [],
      "document_hash": "sha256:c950a28432e4ea8eb42d8a3c2369b5c030a015a85806889d88e5e93ce04cbf3b"
    },
    "x-aisa-plans": {
      "builder": 1.0,
      "display_plan": "payg",
      "payg": 1.0,
      "similarweb_payg": 1.0,
      "team": 1.0,
      "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
    },
    "x-aisa-provider": "bing-search",
    "x-aisa-catalogs": {
      "bing-search": {
        "title": "Bing Search",
        "description": "",
        "x-aisa-document": {
          "facts_hash": "c0c291fcfeb7283f8621a2bbb499a8c165444fad2ded4a325d2bbc3588db6979",
          "generator_version": "3",
          "protocol_version": "1",
          "schema_version": "1"
        },
        "x-aisa-plans": {
          "builder": 1.0,
          "display_plan": "payg",
          "payg": 1.0,
          "similarweb_payg": 1.0,
          "team": 1.0,
          "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
        },
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          }
        }
      }
    }
  },
  "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
  "openapi": "3.1.0",
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "paths": {
    "/apis/v1/bing-search/search": {
      "post": {
        "description": "Bing Search\n\n<!-- aisa-pricing:start -->\n按用量计费；默认请求预估费用：$0.001 USD（不是固定价格）。 最终费用以账户适用价格及实际结算为准。\n<!-- aisa-pricing:end -->",
        "operationId": "post_bing_search_apis_v1_bing_search_search",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "default": {
                  "value": {
                    "q": "example"
                  }
                },
                "minimal": {
                  "value": {
                    "q": "example"
                  }
                }
              },
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "cc": {
                    "pattern": "^[a-zA-Z]{2}$",
                    "type": "string"
                  },
                  "device": {
                    "enum": [
                      "desktop",
                      "tablet",
                      "mobile"
                    ],
                    "type": "string"
                  },
                  "filters": {
                    "maxLength": 8192,
                    "minLength": 1,
                    "type": "string"
                  },
                  "first": {
                    "maximum": 9007199254740991,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "lat": {
                    "maximum": 90,
                    "minimum": -90,
                    "type": "number"
                  },
                  "location": {
                    "maxLength": 256,
                    "minLength": 1,
                    "type": "string"
                  },
                  "lon": {
                    "maximum": 180,
                    "minimum": -180,
                    "type": "number"
                  },
                  "mkt": {
                    "pattern": "^[a-zA-Z]{2}-[a-zA-Z]{2}$",
                    "type": "string"
                  },
                  "q": {
                    "maxLength": 2048,
                    "minLength": 1,
                    "type": "string"
                  },
                  "safe_search": {
                    "enum": [
                      "off",
                      "moderate",
                      "strict"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "q"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Normalized successful response"
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Bing Search",
        "tags": [
          "Bing Search"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "quote": {
            "supported": true
          },
          "mpp": false,
          "x402": false
        },
        "x-aisa-category": "bing-search",
        "x-aisa-contract-source": "handler",
        "x-aisa-pricing": {
          "cost_contract": "response_units",
          "customer_multiplier": 1.0,
          "customer_pricing": "provider_cost_multiplier",
          "default_request_estimate_usd": 0.001,
          "estimate_source": "profile_seed",
          "evidence_source": "response_body"
        },
        "x-aisa-response-passthrough": false,
        "x-aisa-revision": {
          "customer_pricing_ref": "d66e9767cae2",
          "plan_policy_version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb",
          "profile_ref": "a82c8d4abd37"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-catalog-id": "bing-search",
        "x-aisa-runtime-operation": {
          "operation_id": "post_bing_search_apis_v1_bing_search_search",
          "method": "POST",
          "path": "/apis/v1/bing-search/search"
        },
        "x-codeSamples": [
          {
            "lang": "text",
            "label": "Reference example",
            "source": "# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/bing-search/search \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{\n  \"q\": \"example\"\n}'"
          }
        ],
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/bing-search/post_bing_search_apis_v1_bing_search_search"
      }
    }
  }
}
