Odczytaj zapisany wynik
GET/v1/scrapes/{scrape_id}
curl "https://api.seoscraper.io/v1/scrapes/SCRAPE_ID" \ -H "Authorization: Bearer ssk_YOUR_KEY"{ "url": "https://books.toscrape.com", "final_url": "https://books.toscrape.com/", "path": "/", "status": 200, "content_type": "text/html", "redirects": [], "headers": [ { "name": "content-type", "value": "text/html" } ], "duration_ms": 826, "size_bytes": 51294, "truncated": false, "lang": "en-us", "title": "All products | Books to Scrape - Sandbox", "meta_description": "", "canonical": "", "robots": { "meta": "NOARCHIVE,NOCACHE", "x_robots_tag": "", "index": true, "follow": true }, "word_count": 309, "headings": [ { "level": 1, "text": "All products" } ], "links": [ { "url": "https://books.toscrape.com/catalogue/page-2.html", "text": "next", "type": "internal", "rel": "", "nofollow": false } ], "images": [ { "src": "https://books.toscrape.com/media/cache/2c/da/2cdad67c44b002e7ead0cc35693c0e8b.jpg", "alt": "A Light in the Attic", "lazy": false, "width": "", "height": "" } ], "html": null, "id": "0f5a8f5e-6d7c-4b1e-a8a1-8f5f0d3c2b11", "created_at": "2026-11-25T08:00:00Z", "saved": true}Parametry ścieżki
scrape_idstringwymaganeIdentyfikator wyniku.
Parametry zapytania
include_htmlbooleandomyślnie: falseDołącz do odpowiedzi surowy HTML.
Odpowiedź200
urlstringAdres z zapytania.
final_urlstringAdres po wszystkich przekierowaniach.
pathstringŚcieżka adresu końcowego.
statusintegerStatus HTTP strony.
content_typestringTyp treści podany przez serwer.
redirectsobject[]Kolejne przekierowania z adresem i statusem.
Pola redirects
urlstringstatusinteger
headersobject[]Nagłówki HTTP strony, nazwy małymi literami.
Pola headers
namestringvaluestring
duration_msintegerCzas pobrania w milisekundach.
size_bytesintegerRozmiar pobranej treści w bajtach.
truncatedbooleanCzy treść została ucięta na limicie 10 MB.
langstringJęzyk z atrybutu lang.
titlestringTreść znacznika title.
meta_descriptionstringTreść meta description.
canonicalstringAdres kanoniczny.
robotsobjectMeta robots i X-Robots-Tag oraz wynikowe index i follow.
Pola robots
metastringTreść meta robots.
x_robots_tagstringWartość nagłówka X-Robots-Tag.
indexbooleanCzy stronę można indeksować.
followbooleanCzy wolno podążać za linkami na stronie.
word_countintegerLiczba słów w treści strony.
headingsobject[]Nagłówki od h1 do h6 w kolejności na stronie.
Pola headings
levelinteger1 dla h1, 6 dla h6.
textstring
linksobject[]Linki: adres, tekst, typ, rel i nofollow.
Pola links
urlstringtextstringtypestringother: mailto, tel i podobne.
internalexternalotherrelstringWartość atrybutu rel.
nofollowboolean
imagesobject[]Obrazy: src, alt, lazy i wymiary.
Pola images
srcstringaltstring | nullnull: brak atrybutu, pusty tekst: pusty alt.
lazybooleanCzy obraz ma loading=lazy.
widthstringheightstring
htmlstring | nullSurowy HTML, jeśli poprosisz o include_html. W innym razie null.
idstringIdentyfikator wyniku.
created_atstringData i godzina pobrania.
savedbooleanCzy wynik został zapisany w Twoim zespole.
Błędy
Każdy błąd ma ten sam format. Zobacz, co oznaczają kody.
- 401
- unauthorized
- 404
- not_found
- 422
- invalid_request