Scraper
Scraper · GPT アクション
Magical GPT Site Info API
POST /gpt/site-info/publicRetrieve site informationThis endpoint processes URLs and retrieves information about the sites.
元の API スキーマ
{
"openapi": "3.0.0",
"info": {
"title": "Magical GPT Site Info API",
"version": "1.0.0"
},
"servers": [
{
"url": "https://api.getmagical.io"
}
],
"paths": {
"/gpt/site-info/public": {
"post": {
"x-openai-isConsequential": false,
"operationId": "retrieveSiteInformation",
"summary": "Retrieve site information",
"description": "This endpoint processes URLs and retrieves information about the sites.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"urls": {
"type": "array",
"items": {
"type": "string"
},
"example": [
"https://www.airbnb.com/rooms/6122648",
"https://www.airbnb.com/rooms/731059780954437660?adults=1&category_tag=Tag%3A8536&children=0&enable_m3_private_room=true&infants=0&pets=0&photo_id=1650513096&search_mode=flex_destinations_search&check_in=2023-12-17&check_out=2023-12-22&source_impression_id=p3_1700148572_lu1hX%2BnxRFy%2FJnFb&previous_page_section_name=1000&federated_search_id=d03ab158-50a0-4055-b65b-83b988eaad95",
"https://www.airbnb.com/rooms/903186669899652536"
]
}
}
}
}
}
},
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"variables": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
},
"errMessage": {
"type": "string"
}
},
"required": [
"url",
"variables"
]
}
},
"duration": {
"type": "integer"
}
},
"example": {
"data": [
{
"url": "https://www.airbnb.com/rooms/6122648",
"variables": [
{
"name": "Place Name",
"value": "Stinson Oceanfront - La Sirena"
},
{
"name": "URL",
"value": "https://www.airbnb.com/rooms/6122648"
},
{
"name": "Location",
"value": "Stinson Beach, California, United States"
},
{
"name": "Price",
"value": "$218"
}
]
},
{
"url": "https://www.airbnb.com/rooms/45846791",
"variables": [
{
"name": "Place Name",
"value": "Highland Haus- Cozy 70s AFrame-short walk to Lake"
},
{
"name": "URL",
"value": "https://www.airbnb.com/rooms/45846791"
},
{
"name": "Location",
"value": "Stoddard, New Hampshire, United States"
},
{
"name": "Price",
"value": "$128"
}
]
},
{
"url": "https://www.crunchbase.com/organization/openai",
"variables": [],
"errMessage": "Site info not found or has no content"
},
{
"url": "https://vt.tiktok.com/ZSNa3VnNg/",
"variables": [],
"errMessage": "No site info for url"
}
],
"duration": 30410
}
}
}
}
},
"500": {
"description": "Internal server error",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}