GET /v1/crawl/snipfeed/page
Snipfeed scraper API: a creator's Snipfeed page by username
Send a Snipfeed username in user and get the page's HTML document with its final URL, status and headers. Read the page's links out of the HTML.
- Price
- $0.0005 per call
- Batch
- Yes, through /v1/batch
- Failed calls
- Not charged
Example request
curl
curl 'https://api.virev.ai/v1/crawl/snipfeed/page?user=planoly' \
-H "Authorization: Bearer $VIREV_API_KEY"python
import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/crawl/snipfeed/page",
params={
"user": "planoly",
},
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Parameters
| Name | In | Type | Description |
|---|---|---|---|
user required | query | string | The Snipfeed username. |
Example response
The example response of the API reference, with lists cut to their first 3 items and long text shortened.
json
{
"data": {
"final_url": "https://planoly.store/planoly",
"status": 200,
"content_type": "text/html; charset=utf-8",
"payload_kind": "text",
"response_headers": {
"content-type": "text/html; charset=utf-8",
"cache-control": "public, max-age=0, must-revalidate"
},
"body": "<!DOCTYPE html><html lang=\"en\"><head><meta charSet=\"utf-8\" data-next-head=\"\"/><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" data-next-head=\"\"/><meta property=\"og:locale\" content=\"en_IE\" data-next-head=\"\"/><meta propert…"
},
"meta": {
"cost": "$0.0005",
"balance": "$3.0695",
"request_id": "req_675d0a7eac358f8269811a8a2fa9fe43"
}
}How it works
A Snipfeed creator page — the document, with the page's links available via HTML extraction.
Errors
| Status | When |
|---|---|
400 | The request parameters are invalid. |
401 | Missing, malformed, or revoked API key. |
402 | Balance is too low for this request. |
404 | The page does not exist: its site answered 404 or 410 for this input. You are not charged. |
429 | Over the per-minute limit. The limit belongs to your organization and all its API keys share it: 100 requests per minute unless an increase was granted. Wait for the Retry-After seconds, then retry. On a live read, code rate_limited means the platform itself rate-limited this read; retry after the Retry-After seconds. You are not charged. |
502 | The upstream fetch failed. You are not charged. |
503 | Billing could not be confirmed, so no upstream data was returned. |
504 | The upstream request timed out. You are not charged. |