Ads Audience Targeting from URL
Ads Audience Targeting from URL · GPT-Aktionen
Content Extraction API
Extracts and returns structured information from the HTML content of external URLs.
GET /extractContentFromHTMLExtracts specific elements from HTML content of a given URL and returns the information in a structured format.
Ursprüngliches API-Schema
{
"openapi": "3.1.0",
"info": {
"title": "Content Extraction API",
"description": "Extracts and returns structured information from the HTML content of external URLs.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://api-marketing.topmarketingai.com"
}
],
"paths": {
"/": {
"get": {
"description": "Extracts specific elements from HTML content of a given URL and returns the information in a structured format.",
"operationId": "extractContentFromHTML",
"parameters": [
{
"name": "url",
"in": "query",
"description": "The URL of the external content to extract information from.",
"required": true,
"schema": {
"type": "string",
"format": "uri"
}
}
],
"responses": {
"200": {
"description": "Successfully extracted information from the external content.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"author": {
"type": "string"
},
"lastUpdate": {
"type": "string"
},
"metaDescription": {
"type": "string"
},
"metaKeywords": {
"type": "string"
},
"bodyContent": {
"type": "string"
}
}
}
}
}
},
"400": {
"description": "No URL provided or the provided URL is invalid."
},
"401": {
"description": "Unauthorized due to missing or invalid Bearer token."
},
"500": {
"description": "Server error processing the request."
}
}
}
}
},
"components": {
"schemas": {}
}
}