Web extraction with browser options
curl --request POST \
--url https://api.aisa.one/apis/v1/web-extraction/web-fetch-post \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/web-extraction/web-fetch-post"
payload = { "url": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({url: '<string>'})
};
fetch('https://api.aisa.one/apis/v1/web-extraction/web-fetch-post', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/web-extraction/web-fetch-post",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'url' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/web-extraction/web-fetch-post"
payload := strings.NewReader("{\n \"url\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/web-extraction/web-fetch-post")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/web-extraction/web-fetch-post")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"url\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"content": "<string>",
"description": "<string>",
"external": {
"alternate": {},
"author": {},
"icon": {}
},
"metadata": {
"description": "<string>"
},
"title": "<string>",
"url": "<string>",
"usage": {
"tokens": 123
}
}网页提取
Web extraction with browser options
Web extraction with browser options
POST
https://api.aisa.one
/
apis
/
v1
/
web-extraction
/
web-fetch-post
Web extraction with browser options
curl --request POST \
--url https://api.aisa.one/apis/v1/web-extraction/web-fetch-post \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/web-extraction/web-fetch-post"
payload = { "url": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({url: '<string>'})
};
fetch('https://api.aisa.one/apis/v1/web-extraction/web-fetch-post', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/web-extraction/web-fetch-post",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'url' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/web-extraction/web-fetch-post"
payload := strings.NewReader("{\n \"url\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/web-extraction/web-fetch-post")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"url\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/web-extraction/web-fetch-post")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"url\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"content": "<string>",
"description": "<string>",
"external": {
"alternate": {},
"author": {},
"icon": {}
},
"metadata": {
"description": "<string>"
},
"title": "<string>",
"url": "<string>",
"usage": {
"tokens": 123
}
}
Request example pending verification. The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (X-AISA-Cost-Mode: quote) before running it.
Request contract
- Method and path: POST /apis/v1/web-extraction/web-fetch-post
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/web-extraction/web-fetch-post - timeout: query; optional
{
"operationId": "web-extraction.web-fetch-post",
"method": "POST",
"path": "/apis/v1/web-extraction/web-fetch-post",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"in": "query",
"name": "timeout",
"required": false,
"schema": {
"exclusiveMinimum": 0,
"maximum": 90,
"type": "number"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"additionalProperties": false,
"properties": {
"assert_status_code": {
"maximum": 599,
"minimum": 100,
"type": "integer"
},
"base": {
"enum": [
"final",
"initial"
],
"type": "string"
},
"detach_invisibles": {
"type": "boolean"
},
"engine": {
"enum": [
"auto",
"browser",
"curl"
],
"type": "string"
},
"inject_frame_script": {
"items": {
"maxLength": 8192,
"minLength": 1,
"type": "string"
},
"maxItems": 8,
"minItems": 1,
"type": [
"array",
"null"
]
},
"inject_page_script": {
"items": {
"maxLength": 8192,
"minLength": 1,
"type": "string"
},
"maxItems": 8,
"minItems": 1,
"type": [
"array",
"null"
]
},
"keep_img_data_url": {
"type": "boolean"
},
"locale": {
"maxLength": 64,
"minLength": 2,
"pattern": "^[A-Za-z]{2,8}(-[A-Za-z0-9]{1,8})*$",
"type": "string"
},
"markdown": {
"additionalProperties": false,
"properties": {
"bullet_list_marker": {
"enum": [
"-",
"+",
"*",
null
],
"type": [
"string",
"null"
]
},
"em_delimiter": {
"enum": [
"_",
"*",
null
],
"type": [
"string",
"null"
]
},
"heading_style": {
"enum": [
"setext",
"atx",
null
],
"type": [
"string",
"null"
]
},
"hr": {
"maxLength": 128,
"minLength": 1,
"type": [
"string",
"null"
]
},
"link_reference_style": {
"enum": [
"full",
"collapsed",
"shortcut",
"discarded",
null
],
"type": [
"string",
"null"
]
},
"link_style": {
"enum": [
"inlined",
"referenced",
"discarded",
null
],
"type": [
"string",
"null"
]
},
"strong_delimiter": {
"enum": [
"__",
"**",
null
],
"type": [
"string",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"markdown_chunking": {
"enum": [
"h1",
"h2",
"h3",
"h4",
"h5",
"s1",
"s2",
"s3",
"s4",
"s5",
"structured",
"true"
],
"type": "string"
},
"max_tokens": {
"maximum": 10000000,
"minimum": 500,
"type": "integer"
},
"no_gfm": {
"anyOf": [
{
"type": "boolean"
},
{
"const": "table",
"type": "string"
},
{
"type": "null"
}
]
},
"page_timeout": {
"maximum": 180,
"minimum": 1,
"type": "integer"
},
"preset": {
"enum": [
"agent",
"index",
"reader",
"research",
"spider"
],
"type": "string"
},
"referer": {
"format": "http_uri",
"maxLength": 8192,
"minLength": 1,
"type": "string"
},
"remove_overlay": {
"type": "boolean"
},
"remove_selector": {
"anyOf": [
{
"maxLength": 2048,
"minLength": 1,
"type": "string"
},
{
"items": {
"maxLength": 2048,
"minLength": 1,
"type": "string"
},
"maxItems": 16,
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
]
},
"respond_timing": {
"enum": [
"html",
"media-idle",
"mutation-idle",
"network-idle",
"resource-idle",
"visible-content"
],
"type": "string"
},
"respond_with": {
"maxLength": 64,
"minLength": 3,
"type": "string"
},
"retain_images": {
"enum": [
"all",
"alt",
"none"
],
"type": "string"
},
"retain_links": {
"enum": [
"all",
"gpt-oss",
"none",
"text"
],
"type": "string"
},
"retain_media": {
"enum": [
"html",
"image",
"link",
"none",
"text"
],
"type": "string"
},
"robots_txt": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"set_cookies": {
"items": {
"maxLength": 4096,
"minLength": 3,
"type": "string"
},
"maxItems": 100,
"minItems": 1,
"type": [
"array",
"null"
]
},
"target_selector": {
"anyOf": [
{
"maxLength": 2048,
"minLength": 1,
"type": "string"
},
{
"items": {
"maxLength": 2048,
"minLength": 1,
"type": "string"
},
"maxItems": 16,
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
]
},
"token_budget": {
"maximum": 10000000,
"minimum": 1,
"type": "integer"
},
"url": {
"format": "http_uri",
"maxLength": 8192,
"minLength": 1,
"type": "string"
},
"user_agent": {
"maxLength": 1024,
"minLength": 1,
"type": "string"
},
"viewport": {
"additionalProperties": false,
"properties": {
"device_scale_factor": {
"exclusiveMinimum": 0,
"maximum": 4,
"type": [
"number",
"null"
]
},
"has_touch": {
"type": [
"boolean",
"null"
]
},
"height": {
"maximum": 4096,
"minimum": 1,
"type": "integer"
},
"is_landscape": {
"type": [
"boolean",
"null"
]
},
"is_mobile": {
"type": [
"boolean",
"null"
]
},
"width": {
"maximum": 4096,
"minimum": 1,
"type": "integer"
}
},
"required": [
"width",
"height"
],
"type": [
"object",
"null"
]
},
"wait_for_selector": {
"anyOf": [
{
"maxLength": 2048,
"minLength": 1,
"type": "string"
},
{
"items": {
"maxLength": 2048,
"minLength": 1,
"type": "string"
},
"maxItems": 16,
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
]
},
"with_iframe": {
"anyOf": [
{
"type": "boolean"
},
{
"const": "quoted",
"type": "string"
},
{
"type": "null"
}
]
},
"with_images_summary": {
"type": "boolean"
},
"with_links_summary": {
"anyOf": [
{
"type": "boolean"
},
{
"const": "all",
"type": "string"
},
{
"type": "null"
}
]
},
"with_shadow_dom": {
"type": "boolean"
}
},
"required": [
"url"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Observed response structure
The response observations below come from successful probes or sampled requests. They are partial: fields and types may vary, and no field is guaranteed to be present. Reviewed response definitions take precedence. No real response values are published.- HTTP status / last observed: 200 / 2026-11-14
{
"additionalProperties": true,
"properties": {
"content": {
"type": "string"
},
"description": {
"type": "string"
},
"external": {
"additionalProperties": true,
"properties": {
"alternate": {
"additionalProperties": true,
"type": "object"
},
"author": {
"additionalProperties": true,
"type": "object"
},
"icon": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"metadata": {
"additionalProperties": true,
"properties": {
"description": {
"type": "string"
}
},
"type": "object"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
},
"usage": {
"additionalProperties": true,
"properties": {
"tokens": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
}
Cost and request rules
Published reference price: $0.00015 USD per successful request. Your account price may differ; use a request quote where supported.Response time
- Typically takes longer than 30 seconds.
Authorizations
Body
application/json
Response
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.