opticparse-python / opticparse-postman.json
Nanny7's picture
initial deploy
bcf46c3
Raw
History Blame Contribute Delete
2.34 kB
{
"info": {
"_postman_id": "8c5c6439-d4c3-4d40-971a-e9b4de5a6471",
"name": "Opticparse — AI Vision Web Scraper",
"description": "API collection for Opticparse, the plain-English vision-based web scraping platform.",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Health Check",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://opticparse-python-sg.onrender.com/health",
"protocol": "https",
"host": ["opticparse-python-sg", "onrender", "com"],
"path": ["health"]
}
},
"response": []
},
{
"name": "Vision Scrape",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "X-API-Key",
"value": "your_api_key_here"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"target_url\": \"https://news.ycombinator.com\",\n \"extraction_query\": \"Extract the top 5 article titles and their link URLs as structured JSON\"\n}"
},
"url": {
"raw": "https://opticparse-python-sg.onrender.com/api/vision-scrape",
"protocol": "https",
"host": ["opticparse-python-sg", "onrender", "com"],
"path": ["api", "vision-scrape"]
}
},
"response": []
},
{
"name": "Crawl multi-page",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "X-API-Key",
"value": "your_api_key_here"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"start_url\": \"https://books.toscrape.com\",\n \"extraction_query\": \"Get product titles and prices\",\n \"follow_selector\": \"a.next\",\n \"max_pages\": 3\n}"
},
"url": {
"raw": "https://opticparse-python-sg.onrender.com/api/crawl",
"protocol": "https",
"host": ["opticparse-python-sg", "onrender", "com"],
"path": ["api", "crawl"]
}
},
"response": []
}
]
}