cURL
curl --request POST \ --url https://api.gately.ai/v1/web \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "model": "scrape", "params": {} } '
{ "id": "<string>", "object": "<string>", "created": 123, "model": "<string>", "data": {}, "usage": { "prompt_tokens": 123, "completion_tokens": 123, "total_tokens": 123 }, "system_fingerprint": "<string>" }
Crawl websites with advanced configuration options
Crawl Scope
URL Filtering
["blog/*"]
["admin/*"]
Crawl Settings
crawl.started
crawl.page
crawl.completed
crawl.failed
Scrape Options
{ "formats": ["markdown"], "onlyMainContent": true, "removeBase64Images": true, "mobile": false, "waitFor": 0, "headers": {}, "includeTags": [], "excludeTags": [] }
curl --request POST \ --url https://crawl.taam.cloud/v1/web \ --header 'Authorization: Bearer YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "url": "https://example.com", "maxDepth": 2, "includePaths": ["blog/*"], "excludePaths": ["admin/*"], "limit": 100, "scrapeOptions": { "formats": ["markdown"], "onlyMainContent": true } }'
{ "success": true, "id": "crawl_123abc", "url": "https://example.com" }
200 - Success
402 - Payment Required
429 - Too Many Requests
500 - Server Error
Enter your API key prefixed with 'Bearer '
Type of web service to use
scrape
crawl
map
taam-ai-search
crawl-status
Parameters specific to the selected model
Successful response
Unique identifier for the request
Type of completion (e.g., scrape.completion)
Unix timestamp of when the request was created
Model used for the request
Model-specific response data
Show child attributes
Was this page helpful?