제품 상세페이지 벤치마킹 도우미
제품 상세페이지 벤치마킹 도우미 · GPT 작업
Magic AI Prompts API
API for scraping and screenshotting web pages, with optional OCR capabilities.
POST /openapi/gpts/scrape/any_urlScrapes the content of any specified URLPOST /openapi/gpts/screenshot/any_url/with_ocrTakes a screenshot of the specified URL with optional OCR capabilities
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "Magic AI Prompts API",
"version": "1.0.0",
"description": "API for scraping and screenshotting web pages, with optional OCR capabilities."
},
"servers": [
{
"url": "https://gpts-api.prompthackerdanny.com",
"description": "Production server"
}
],
"paths": {
"/openapi/gpts/scrape/any_url": {
"post": {
"summary": "Scrapes the content of any specified URL",
"operationId": "scrapeAnyUrl",
"tags": [
"Scrape"
],
"security": [
{
"BearerAuth": []
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PageUrlRequest"
}
}
}
},
"responses": {
"200": {
"description": "Successful response",
"content": {}
}
}
}
},
"/openapi/gpts/screenshot/any_url/with_ocr": {
"post": {
"summary": "Takes a screenshot of the specified URL with optional OCR capabilities",
"operationId": "screenshotAnyUrlWithOCR",
"tags": [
"Screenshot"
],
"security": [
{
"BearerAuth": []
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PageUrlRequest"
}
}
}
},
"responses": {
"200": {
"description": "Successful response",
"content": {}
}
}
}
}
},
"components": {
"securitySchemes": {
"BearerAuth": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "JWT"
}
},
"schemas": {
"PageUrlRequest": {
"type": "object",
"properties": {
"pageUrl": {
"type": "string",
"example": "sample-url.com"
}
},
"required": [
"pageUrl"
]
}
}
}
}