{
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "",
    "title": "Web pages",
    "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": {
      "web": {
        "description": "",
        "title": "Web pages",
        "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": "ae919e86baa93420d06eb7f8b4e800c11588f93d73d5aff026932e6a59ed9702",
          "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-configured-paths": [
      "/apis/v1/web/ask",
      "/apis/v1/web/crawl",
      "/apis/v1/web/extract",
      "/apis/v1/web/html",
      "/apis/v1/web/markdown",
      "/apis/v1/web/screenshot",
      "/apis/v1/web/search"
    ],
    "x-aisa-document": {
      "composer_version": "31",
      "facts_hash": "ae919e86baa93420d06eb7f8b4e800c11588f93d73d5aff026932e6a59ed9702",
      "generator_version": "3",
      "protocol_version": "1",
      "response_pending": [],
      "schema_version": "1",
      "public_projection": {
        "version": "4",
        "source_document_hash": "sha256:9e1a48c180d1e9212f462607e3aba47333b5e54171b5ba1a538e6e01e6a24ba3"
      },
      "document_hash": "sha256:3c416d75e6aff6b62e155cb70a76ec652a2ddb66c0859a1d0ae3c7cd84825efa"
    },
    "x-aisa-plans": {
      "builder": 1.0,
      "display_plan": "payg",
      "payg": 1.0,
      "similarweb_payg": 1.0,
      "team": 1.0,
      "version": "e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"
    },
    "x-aisa-provider": "web"
  },
  "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
  "openapi": "3.1.0",
  "paths": {
    "/apis/v1/web/ask": {
      "get": {
        "description": "Fetches a web page by URL and answers a natural-language question (`q`) about its content with a generated answer. Required inputs: `url` and `q`.\n\n> **请求示例待验证。** 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式，请替换为自己的参数。正式调用前，可用免费的报价模式（`X-AISA-Cost-Mode: quote`）查看预估费用。",
        "operationId": "web.ask",
        "parameters": [
          {
            "in": "query",
            "name": "q",
            "required": true,
            "schema": {
              "description": "Natural-language question to answer about the page content.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "url",
            "required": true,
            "schema": {
              "description": "Web page URL to fetch.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "properties": {
                    "data": {
                      "additionalProperties": true,
                      "properties": {
                        "answer": {
                          "type": "string"
                        },
                        "budgetExceeded": {
                          "type": "boolean"
                        },
                        "bytesTransferred": {
                          "type": "integer"
                        },
                        "lookupStatus": {
                          "type": "string"
                        },
                        "truncated": {
                          "type": "boolean"
                        },
                        "url": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "meta": {
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Observed successful JSON response. This partial structure comes from successful probe or sampled requests; fields and types may vary. No field is guaranteed to be present. Last observed: 2026-11-14.",
            "x-aisa-response-observation": {
              "completeness": "observed",
              "last_observed": "2026-11-14",
              "origins": [
                "probe"
              ]
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Ask a question about a web page",
        "tags": [
          "Web pages"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "web",
        "x-aisa-category": "web",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/web/web-ask",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "e63490ecd3ecaec6b4aca29f4ad5640028bf496bff70bf1e49d54874eb706db1",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-14",
            "origins": [
              "probe"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "answer": {
                      "type": "string"
                    },
                    "budgetExceeded": {
                      "type": "boolean"
                    },
                    "bytesTransferred": {
                      "type": "integer"
                    },
                    "lookupStatus": {
                      "type": "string"
                    },
                    "truncated": {
                      "type": "boolean"
                    },
                    "url": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
        "x-aisa-review": {
          "request": "reviewed_source",
          "response": "observed",
          "status": "unreviewed"
        },
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "web.ask",
          "path": "/apis/v1/web/ask"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/web/crawl": {
      "get": {
        "description": "Fetches up to five web pages in one synchronous request; repeat `url` for each page. Required input: `url`.\n\n> **请求示例待验证。** 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式，请替换为自己的参数。正式调用前，可用免费的报价模式（`X-AISA-Cost-Mode: quote`）查看预估费用。",
        "operationId": "web.crawl",
        "parameters": [
          {
            "in": "query",
            "name": "scanFullPage",
            "required": false,
            "schema": {
              "description": "When true, scroll the page to load dynamically appended content (infinite scroll). Default false.",
              "type": "boolean"
            }
          },
          {
            "explode": true,
            "in": "query",
            "name": "url",
            "required": true,
            "schema": {
              "description": "URLs to crawl. Repeat the `url` query parameter for multiple pages (max 5).",
              "items": {
                "type": "string"
              },
              "maxItems": 5,
              "minItems": 1,
              "type": "array"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "waitFor",
            "required": false,
            "schema": {
              "description": "Wait for a CSS selector before extraction. Must be prefixed with \"css:\" (e.g. css:main). JavaScript wait conditions are not supported.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "properties": {
                    "data": {
                      "additionalProperties": true,
                      "properties": {
                        "results": {
                          "items": {
                            "additionalProperties": true,
                            "properties": {
                              "links": {
                                "additionalProperties": true,
                                "type": "object"
                              },
                              "media": {
                                "additionalProperties": true,
                                "properties": {
                                  "images": {
                                    "items": {
                                      "additionalProperties": true,
                                      "properties": {
                                        "score": {
                                          "type": "integer"
                                        }
                                      },
                                      "type": "object"
                                    },
                                    "type": "array"
                                  }
                                },
                                "type": "object"
                              },
                              "metadata": {
                                "additionalProperties": true,
                                "properties": {
                                  "author": {
                                    "type": [
                                      "null",
                                      "string"
                                    ]
                                  },
                                  "description": {
                                    "type": [
                                      "null",
                                      "string"
                                    ]
                                  },
                                  "title": {
                                    "type": [
                                      "null",
                                      "string"
                                    ]
                                  }
                                },
                                "type": "object"
                              },
                              "status": {
                                "type": "integer"
                              },
                              "success": {
                                "type": "boolean"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "summary": {
                          "additionalProperties": true,
                          "type": "object"
                        }
                      },
                      "type": "object"
                    },
                    "meta": {
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Observed successful JSON response. This partial structure comes from successful probe or sampled requests; fields and types may vary. No field is guaranteed to be present. Last observed: 2026-11-27.",
            "x-aisa-response-observation": {
              "completeness": "observed",
              "last_observed": "2026-11-27",
              "origins": [
                "customer"
              ]
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Crawl web pages",
        "tags": [
          "Web pages"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "web",
        "x-aisa-category": "web",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/web/web-crawl",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "b5611e565a22fd3c8f18f51c380053ee8a5eff3c0fb5d665252b33b3d400e023",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-27",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "results": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "links": {
                            "additionalProperties": true,
                            "type": "object"
                          },
                          "media": {
                            "additionalProperties": true,
                            "properties": {
                              "images": {
                                "items": {
                                  "additionalProperties": true,
                                  "properties": {
                                    "score": {
                                      "type": "integer"
                                    }
                                  },
                                  "type": "object"
                                },
                                "type": "array"
                              }
                            },
                            "type": "object"
                          },
                          "metadata": {
                            "additionalProperties": true,
                            "properties": {
                              "author": {
                                "type": [
                                  "null",
                                  "string"
                                ]
                              },
                              "description": {
                                "type": [
                                  "null",
                                  "string"
                                ]
                              },
                              "title": {
                                "type": [
                                  "null",
                                  "string"
                                ]
                              }
                            },
                            "type": "object"
                          },
                          "status": {
                            "type": "integer"
                          },
                          "success": {
                            "type": "boolean"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "summary": {
                      "additionalProperties": true,
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.07,
          "estimate_source": "profile_seed",
          "maximum_units": 5
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
        "x-aisa-review": {
          "request": "reviewed_source",
          "response": "observed",
          "status": "unreviewed"
        },
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "web.crawl",
          "path": "/apis/v1/web/crawl"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/web/extract": {
      "post": {
        "description": "Fetches a web page and extracts structured fields with a CSS selector schema. The JSON body requires `url` and `schema` (with `name`, `baseSelector` and `fields`, each field having a `name` and `selector`).\n\n> **请求示例待验证。** 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式，请替换为自己的参数。正式调用前，可用免费的报价模式（`X-AISA-Cost-Mode: quote`）查看预估费用。",
        "operationId": "web.extract",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": true,
                "properties": {
                  "url": {
                    "maxLength": 4096,
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "url"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "properties": {
                    "data": {
                      "additionalProperties": true,
                      "properties": {
                        "metadata": {
                          "additionalProperties": true,
                          "properties": {
                            "author": {
                              "type": "null"
                            },
                            "description": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "status": {
                          "type": "integer"
                        },
                        "url": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "meta": {
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Observed successful JSON response. This partial structure comes from successful probe or sampled requests; fields and types may vary. No field is guaranteed to be present. Last observed: 2026-11-25.",
            "x-aisa-response-observation": {
              "completeness": "observed",
              "last_observed": "2026-11-25",
              "origins": [
                "customer"
              ]
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Extract structured data from a web page",
        "tags": [
          "Web pages"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "web",
        "x-aisa-category": "web",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/web/web-extract",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "e20a1e48af015c574fdc0b7954b8a234f455951731b2184de700e6483782e9df",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-25",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "metadata": {
                      "additionalProperties": true,
                      "properties": {
                        "author": {
                          "type": "null"
                        },
                        "description": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "status": {
                      "type": "integer"
                    },
                    "url": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-passthrough": true,
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.028,
          "estimate_source": "profile_seed",
          "maximum_units": 2
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-review": {
          "request": "runtime_binding",
          "response": "observed",
          "status": "unreviewed"
        },
        "x-aisa-runtime-operation": {
          "method": "POST",
          "operation_id": "web.extract",
          "path": "/apis/v1/web/extract"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "mixed",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/web/html": {
      "get": {
        "description": "Fetches a web page by URL and returns its cleaned HTML. Required input: `url`.\n\n> **请求示例待验证。** 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式，请替换为自己的参数。正式调用前，可用免费的报价模式（`X-AISA-Cost-Mode: quote`）查看预估费用。",
        "operationId": "web.html",
        "parameters": [
          {
            "in": "query",
            "name": "scanFullPage",
            "required": false,
            "schema": {
              "description": "When true, scroll the page to load dynamically appended content (infinite scroll). Default false.",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "url",
            "required": true,
            "schema": {
              "description": "Web page URL to fetch.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "waitFor",
            "required": false,
            "schema": {
              "description": "Wait for a CSS selector before extraction. Must be prefixed with \"css:\" (e.g. css:main). JavaScript wait conditions are not supported.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "properties": {
                    "data": {
                      "additionalProperties": true,
                      "properties": {
                        "links": {
                          "additionalProperties": true,
                          "type": "object"
                        },
                        "media": {
                          "additionalProperties": true,
                          "properties": {
                            "images": {
                              "items": {
                                "additionalProperties": true,
                                "properties": {
                                  "score": {
                                    "type": "integer"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            }
                          },
                          "type": "object"
                        },
                        "metadata": {
                          "additionalProperties": true,
                          "properties": {
                            "author": {
                              "type": [
                                "null",
                                "string"
                              ]
                            },
                            "description": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "status": {
                          "type": "integer"
                        },
                        "url": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "meta": {
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Observed successful JSON response. This partial structure comes from successful probe or sampled requests; fields and types may vary. No field is guaranteed to be present. Last observed: 2026-11-26.",
            "x-aisa-response-observation": {
              "completeness": "observed",
              "last_observed": "2026-11-26",
              "origins": [
                "customer"
              ]
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Generate web page HTML",
        "tags": [
          "Web pages"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "web",
        "x-aisa-category": "web",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/web/web-html",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "f7339157d5a27264748cf3bbbd5038d682803a07f1c067bb445e2ad184062e37",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-26",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "links": {
                      "additionalProperties": true,
                      "type": "object"
                    },
                    "media": {
                      "additionalProperties": true,
                      "properties": {
                        "images": {
                          "items": {
                            "additionalProperties": true,
                            "properties": {
                              "score": {
                                "type": "integer"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    },
                    "metadata": {
                      "additionalProperties": true,
                      "properties": {
                        "author": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "description": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "status": {
                      "type": "integer"
                    },
                    "url": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
        "x-aisa-review": {
          "request": "reviewed_source",
          "response": "observed",
          "status": "unreviewed"
        },
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "web.html",
          "path": "/apis/v1/web/html"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/web/markdown": {
      "get": {
        "description": "Fetches a web page by URL and returns its content as clean Markdown. Required input: `url`.\n\n> **请求示例待验证。** 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式，请替换为自己的参数。正式调用前，可用免费的报价模式（`X-AISA-Cost-Mode: quote`）查看预估费用。",
        "operationId": "web.markdown",
        "parameters": [
          {
            "in": "query",
            "name": "cacheMode",
            "required": false,
            "schema": {
              "description": "Cache behavior. `enabled`: read from cache if present, else fetch and write to cache. `bypass`: always fetch fresh, ignoring and not updating the cache. `write_only`: always fetch fresh, but write the result to cache without reading from it first. Default: `enabled`.",
              "enum": [
                "bypass",
                "enabled",
                "write_only"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "filter",
            "required": false,
            "schema": {
              "description": "Markdown extraction filter. `fit`: strip boilerplate and extract the main readable content. `raw`: full unfiltered page markdown, no content pruning. `bm25`: rank and return only the content most relevant to `query`, using the BM25 keyword-relevance algorithm — requires `query` to be set.",
              "enum": [
                "bm25",
                "fit",
                "raw"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "description": "Optional query string used by the bm25 filter to rank relevant content.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "scanFullPage",
            "required": false,
            "schema": {
              "description": "When true, scroll the page to load dynamically appended content (infinite scroll). Default false.",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "url",
            "required": true,
            "schema": {
              "description": "Web page URL to fetch.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "waitFor",
            "required": false,
            "schema": {
              "description": "Wait for a CSS selector before extraction. Must be prefixed with \"css:\" (e.g. css:main). JavaScript wait conditions are not supported.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "properties": {
                    "data": {
                      "additionalProperties": true,
                      "properties": {
                        "links": {
                          "additionalProperties": true,
                          "type": "object"
                        },
                        "media": {
                          "additionalProperties": true,
                          "properties": {
                            "images": {
                              "items": {
                                "additionalProperties": true,
                                "properties": {
                                  "score": {
                                    "type": "integer"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            }
                          },
                          "type": "object"
                        },
                        "metadata": {
                          "additionalProperties": true,
                          "properties": {
                            "author": {
                              "type": [
                                "null",
                                "string"
                              ]
                            },
                            "description": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "status": {
                          "type": "integer"
                        },
                        "url": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "meta": {
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Observed successful JSON response. This partial structure comes from successful probe or sampled requests; fields and types may vary. No field is guaranteed to be present. Last observed: 2026-11-28.",
            "x-aisa-response-observation": {
              "completeness": "observed",
              "last_observed": "2026-11-28",
              "origins": [
                "customer"
              ]
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Generate web page markdown",
        "tags": [
          "Web pages"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "web",
        "x-aisa-category": "web",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/web/web-markdown",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "10ae109a2291933de0ddede35e9699ff5242feb8bb6bfd838adde996256f98be",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-28",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "links": {
                      "additionalProperties": true,
                      "type": "object"
                    },
                    "media": {
                      "additionalProperties": true,
                      "properties": {
                        "images": {
                          "items": {
                            "additionalProperties": true,
                            "properties": {
                              "score": {
                                "type": "integer"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    },
                    "metadata": {
                      "additionalProperties": true,
                      "properties": {
                        "author": {
                          "type": [
                            "null",
                            "string"
                          ]
                        },
                        "description": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "status": {
                      "type": "integer"
                    },
                    "url": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
        "x-aisa-review": {
          "request": "reviewed_source",
          "response": "observed",
          "status": "unreviewed"
        },
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "web.markdown",
          "path": "/apis/v1/web/markdown"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/web/screenshot": {
      "get": {
        "description": "Captures a screenshot of a public web page by URL, as a temporary image link or inline base64 image. Required input: `url`.\n\n> **请求示例待验证。** 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式，请替换为自己的参数。正式调用前，可用免费的报价模式（`X-AISA-Cost-Mode: quote`）查看预估费用。",
        "operationId": "web.screenshot",
        "parameters": [
          {
            "in": "query",
            "name": "blockAds",
            "required": false,
            "schema": {
              "description": "Block ads and trackers during render. Default: true.",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "blockCookieBanners",
            "required": false,
            "schema": {
              "description": "Dismiss/block cookie consent banners. Default: true.",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "cacheMode",
            "required": false,
            "schema": {
              "description": "Cache behavior. `enabled`: read from cache if present, else fetch and write to cache. `bypass`: always fetch fresh, ignoring and not updating the cache. `write_only`: always fetch fresh, but write the result to cache without reading from it first. Default: `enabled`.",
              "enum": [
                "bypass",
                "enabled",
                "write_only"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cacheTtl",
            "required": false,
            "schema": {
              "description": "Requested cache lifetime in seconds, from 60 to 604800. This does not extend the lifetime of returned media links; check their returned expiration.",
              "maximum": 604800,
              "minimum": 60,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "darkMode",
            "required": false,
            "schema": {
              "description": "Request prefers-color-scheme: dark. Default: false.",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "delay",
            "required": false,
            "schema": {
              "description": "Extra settle delay in milliseconds after load (0–10000).",
              "maximum": 10000,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "deviceScaleFactor",
            "required": false,
            "schema": {
              "description": "Device scale factor (1–3). Default: 1.",
              "maximum": 3,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "description": "Output image format. Default: png.",
              "enum": [
                "jpeg",
                "png",
                "webp"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "fullPage",
            "required": false,
            "schema": {
              "description": "When true, capture the full scrollable page. Default: false (viewport).",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "quality",
            "required": false,
            "schema": {
              "description": "JPEG/WebP quality 1–100. Invalid when format is png.",
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "region",
            "required": false,
            "schema": {
              "description": "ISO 3166-1 alpha-2 country code for the rendering location.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "response",
            "required": false,
            "schema": {
              "description": "Image delivery mode: url returns a downloadable image link; base64 returns inline image data when small enough. Check the returned expiration for link validity.",
              "enum": [
                "base64",
                "url"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "selector",
            "required": false,
            "schema": {
              "description": "CSS selector to clip the screenshot to a single element. Cannot be combined with fullPage.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "url",
            "required": true,
            "schema": {
              "description": "Web page URL to fetch.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "viewportHeight",
            "required": false,
            "schema": {
              "description": "Viewport height in CSS pixels. Default: 800.",
              "maximum": 9223372036854775807,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "viewportWidth",
            "required": false,
            "schema": {
              "description": "Viewport width in CSS pixels. Default: 1280.",
              "maximum": 9223372036854775807,
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "waitFor",
            "required": false,
            "schema": {
              "description": "CSS selector to wait for before capturing.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "waitUntil",
            "required": false,
            "schema": {
              "description": "Navigation wait condition. `networkidle` is bounded and resolves on idle or a short cap, whichever comes first. Default: load.",
              "enum": [
                "domcontentloaded",
                "load",
                "networkidle"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "properties": {
                    "data": {
                      "additionalProperties": true,
                      "properties": {
                        "status": {
                          "type": "integer"
                        },
                        "title": {
                          "type": "string"
                        },
                        "url": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "meta": {
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Observed successful JSON response. This partial structure comes from successful probe or sampled requests; fields and types may vary. No field is guaranteed to be present. Last observed: 2026-11-27.",
            "x-aisa-response-observation": {
              "completeness": "observed",
              "last_observed": "2026-11-27",
              "origins": [
                "customer"
              ]
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "Capture website screenshot",
        "tags": [
          "Web pages"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "web",
        "x-aisa-category": "web",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/web/web-screenshot",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "55e48938a01c91146a9efd654f34ed3772996ae3ee6316ef49247593da62ed99",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-27",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "status": {
                      "type": "integer"
                    },
                    "title": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.028,
          "estimate_source": "profile_seed",
          "maximum_units": 2
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
        "x-aisa-review": {
          "request": "reviewed_source",
          "response": "observed",
          "status": "unreviewed"
        },
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "web.screenshot",
          "path": "/apis/v1/web/screenshot"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    },
    "/apis/v1/web/search": {
      "get": {
        "description": "Searches the public web and returns ranked organic results with snippets. Provide `query` or `q`. Results are paged: while `data.page.hasMore` is true, send `data.page.nextPage` as `page` to get the next page.\n\n> **请求示例待验证。** 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式，请替换为自己的参数。正式调用前，可用免费的报价模式（`X-AISA-Cost-Mode: quote`）查看预估费用。",
        "operationId": "web.search",
        "parameters": [
          {
            "in": "query",
            "name": "datePosted",
            "required": false,
            "schema": {
              "description": "Optional filter by when results were posted.",
              "enum": [
                "last-day",
                "last-hour",
                "last-month",
                "last-week",
                "last-year"
              ],
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "description": "Page number (1-based). Default: 1.",
              "maximum": 9223372036854775807,
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "description": "Silent alias for query when query is omitted.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "description": "Search query text to run against the public web.",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "region",
            "required": false,
            "schema": {
              "description": "ISO 3166-1 country code for localized results (e.g. US, GB, CA).",
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "properties": {
                    "aisa_pagination": {
                      "additionalProperties": false,
                      "description": "AIsa pagination. Pass next_cursor as page to fetch the next page; has_more is false on the last page.",
                      "properties": {
                        "has_more": {
                          "type": "boolean"
                        },
                        "next_cursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "next_param": {
                          "const": "page",
                          "type": "string"
                        }
                      },
                      "required": [
                        "has_more",
                        "next_cursor",
                        "next_param"
                      ],
                      "type": "object"
                    },
                    "data": {
                      "additionalProperties": true,
                      "properties": {
                        "page": {
                          "additionalProperties": true,
                          "properties": {
                            "hasMore": {
                              "type": "boolean"
                            },
                            "nextPage": {
                              "type": [
                                "null",
                                "integer"
                              ]
                            },
                            "page": {
                              "type": "integer"
                            }
                          },
                          "type": "object"
                        },
                        "query": {
                          "type": "string"
                        },
                        "results": {
                          "items": {
                            "additionalProperties": true,
                            "properties": {
                              "content": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    },
                    "meta": {
                      "additionalProperties": true,
                      "properties": {
                        "version": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Observed successful JSON response. This partial structure comes from successful probe or sampled requests; fields and types may vary. No field is guaranteed to be present. Last observed: 2026-11-28.",
            "headers": {
              "X-AISA-Has-More": {
                "description": "Mirrors aisa_pagination.has_more.",
                "schema": {
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string"
                }
              },
              "X-AISA-Next-Cursor": {
                "description": "Mirrors aisa_pagination.next_cursor; absent on the last page.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "x-aisa-response-observation": {
              "completeness": "observed",
              "last_observed": "2026-11-28",
              "origins": [
                "customer"
              ]
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Error response; upstream passthrough responses may use provider formats"
          }
        },
        "summary": "搜索网络",
        "tags": [
          "Web pages"
        ],
        "x-aisa-capabilities": {
          "idempotency": "Idempotency-Key",
          "max_price": "X-AISA-Max-Price-USD",
          "mpp": false,
          "mpp_methods": [],
          "quote": {
            "header": "X-AISA-Cost-Mode",
            "value": "quote"
          },
          "x402": false
        },
        "x-aisa-catalog-id": "web",
        "x-aisa-category": "web",
        "x-aisa-docs-url": "https://aisa.one/docs/api-reference/web/web-search",
        "x-aisa-example": {
          "reason": "no_fixture",
          "request_contract_sha256": "9ba5e9e9eadd301480f92b82dabc2000c6c4207244fd396ef0083c5e3b91ad75",
          "state": "pending"
        },
        "x-aisa-latency": {
          "basis": "sweep_seed"
        },
        "x-aisa-latency-class": "fast",
        "x-aisa-observed-responses": {
          "200": {
            "completeness": "observed",
            "last_observed": "2026-11-28",
            "origins": [
              "customer"
            ],
            "schema": {
              "additionalProperties": true,
              "properties": {
                "aisa_pagination": {
                  "additionalProperties": true,
                  "properties": {
                    "has_more": {
                      "type": "boolean"
                    },
                    "next_cursor": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "next_param": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "data": {
                  "additionalProperties": true,
                  "properties": {
                    "page": {
                      "additionalProperties": true,
                      "properties": {
                        "hasMore": {
                          "type": "boolean"
                        },
                        "nextPage": {
                          "type": [
                            "null",
                            "integer"
                          ]
                        },
                        "page": {
                          "type": "integer"
                        }
                      },
                      "type": "object"
                    },
                    "query": {
                      "type": "string"
                    },
                    "results": {
                      "items": {
                        "additionalProperties": true,
                        "properties": {
                          "content": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                },
                "meta": {
                  "additionalProperties": true,
                  "properties": {
                    "version": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          }
        },
        "x-aisa-pagination": {
          "ordering": "stable",
          "request": {
            "in": "query",
            "param": "page"
          },
          "style": "page"
        },
        "x-aisa-pricing": {
          "customer_pricing": "usage_based",
          "default_request_estimate_usd": 0.014,
          "estimate_source": "profile_seed",
          "maximum_units": 1
        },
        "x-aisa-query-policy": {
          "ignore_undeclared": false,
          "request_wins": false
        },
        "x-aisa-response-contract-hash": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
        "x-aisa-review": {
          "request": "reviewed_source",
          "response": "observed",
          "status": "unreviewed"
        },
        "x-aisa-runtime-operation": {
          "method": "GET",
          "operation_id": "web.search",
          "path": "/apis/v1/web/search"
        },
        "x-aisa-status": "enabled",
        "x-aisa-validation": "runtime",
        "x-aisa-verification": {
          "state": "pending",
          "reason": "no_fixture"
        }
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ]
}
