Example
curl -sS https://api.crawlapi.dev/v1/scrape \
-H "Authorization: Bearer $CRAWLAPI_API_KEY" \
-H 'content-type: application/json' \
--data '{"url": "https://www.imdb.com/title/tt0111161/", "format": "json"}'import os, httpx
body = httpx.post(
"https://api.crawlapi.dev/v1/scrape",
headers={"Authorization": f"Bearer {os.environ['CRAWLAPI_API_KEY']}"},
json={"url": "https://www.imdb.com/title/tt0111161/", "format": "json"},
timeout=60.0,
).json()
print(body["data"]["json"]["tables"])const response = await fetch('https://api.crawlapi.dev/v1/scrape', {
method: 'POST',
headers: {
Authorization: 'Bearer ' + process.env.CRAWLAPI_API_KEY,
'content-type': 'application/json',
},
body: JSON.stringify({ url: 'https://www.imdb.com/title/tt0111161/', format: 'json' }),
});
const body = await response.json();
console.log(body.data.json.tables);{
"success": true,
"request_id": "req_3c5a360ab9ad5ba76a75",
"data": {
"metadata": {
"title": "The Shawshank Redemption (1994) - IMDb",
"description": "The Shawshank Redemption: Directed by Frank Darabont. With Tim Robbins, Morgan Freeman, Bob Gunton, William Sadler. After a banker is sentenced to life in Shawshank Prison, he forms an unlikely friendship with a seasoned inmate and clings to hope amid cruelty and corruption.",
"language": "en-US",
"status": 200,
"final_url": "https://www.imdb.com/title/tt0111161/"
},
"links": [
"https://www.imdb.com/?ref_=tt_nv_home",
"https://www.imdb.com/?ref_=tt_nv_menu_home",
"https://www.imdb.com/calendar/?ref_=tt_nv_menu"
],
"json": {
"structured": {
"type": "creative_work",
"source": "jsonld",
"creative_work": {
"kind": "Movie",
"name": "The Shawshank Redemption",
"date": "1994-10-14",
"rating": {
"value": 9.3,
"count": 3264267
},
"genre": "Drama",
"directors": [
"Frank Darabont"
],
"actors": [
"Tim Robbins",
"Morgan Freeman",
"Bob Gunton"
],
"authors": [
"Stephen King",
"Frank Darabont"
],
"duration": "PT2H22M",
"image": "https://m.media-amazon.com/images/M/MV5BMDAyY2FhYjctNDc5OS00MDNlLThiMGUtY2UxYWVkNGY2ZjljXkEyXkFqcGc@._V1_.jpg"
}
},
"tables": [
{
"source": "embedded",
"headers": [
"name",
"url"
],
"rows": [
[
"Tim Robbins",
"https://www.imdb.com/name/nm0000209/"
],
[
"Morgan Freeman",
"https://www.imdb.com/name/nm0000151/"
],
[
"Bob Gunton",
"https://www.imdb.com/name/nm0348409/"
]
]
}
],
"jsonld": [
{
"@context": "https://schema.org",
"@type": "Movie",
"url": "https://www.imdb.com/title/tt0111161/",
"name": "The Shawshank Redemption",
"aggregateRating": {
"@type": "AggregateRating",
"ratingCount": 3264267,
"bestRating": 10,
"worstRating": 1,
"ratingValue": 9.3
},
"contentRating": "R",
"genre": [
"Drama"
],
"datePublished": "1994-10-14",
"duration": "PT2H22M"
}
],
"embedded": [
{
"source": "next-data",
"key": "__NEXT_DATA__",
"bytes": 984030,
"value": {
"props": {
"pageProps": {
"tconst": "tt0111161"
}
}
}
}
]
}
},
"usage": {
"credits": 1,
"remaining": 9997
}
}An answer trimmed for this page, recorded live on 2026-11-13: links keeps the first 3 of 287, the JSON-LD item 9 of its 17 keys, tables the first 3 rows of each table and embedded the first of its 3 items, with its 984,030-byte value cut to props.pageProps.tconst. The page declares a Movie, read as a creative_work, and its cast, a list of people, is its one table.
The keys
| Key | What it holds |
|---|---|
structured |
first: one normalised object for what the page declares itself to be. type is product, article, listing, recipe, software_app, creative_work (films, series, books, albums), event, job, faq, local_business, video or post (a post on X), and the object is under the key of the same name; source is jsonld, microdata, opengraph, x or youtube. A thing with several types is read as the most specific (a Recipe that is also a NewsArticle is a recipe). When the page declares the same thing again in another form (its JSON-LD and its microdata both name the video), the first one read fills its empty fields from the others and keeps its own; source names the first. Left out when the page declares none |
tables |
record tables: tables that name the page’s own thing first (one that names it in an earlier row before one that names it further down), then record tables, then the rest; record arrays from the page’s state and JSON-LD (the site’s organisation, pages, breadcrumbs and people are not tables), then HTML tables, then the page’s repeated cards. source is html, list, embedded or document |
jsonld |
the page’s JSON-LD blocks, as written |
embedded |
the state blobs the page boots from (__NEXT_DATA__, application/json scripts), largest first, each with source, key, bytes and the parsed value; complete, after the keys above |
tables, jsonld and embedded are always there, empty when the page has none of that kind.
Rows are capped at 500, columns at 30 and cells at 500 characters. Navigation boxes, layouts, menus and tables made of links are not returned as tables. An HTML table’s header of several rows becomes one label per column (Revenue · USD (in billions)), and a cell that spans rows is repeated in each row it covers.
Lists of cards
A page that lists things as repeated cards, without a <table> (a job board’s jobs, a shop’s products, a forum’s threads), answers each card as a row of a table with source list. When the cards name themselves by a link of their own to each (a job’s, a product’s, a thread’s: not a person’s page, a search, a date or a button that every card repeats), the first two columns are title, that link’s text, and url, its address; cards that are about people (a forum’s posts, an answer, a paper’s authors) have no such link and no title or url, and their first column is column_1. The rest are what most cards say at the same place: a company, a place, a price, a date. A column is named as the page’s markup names it (a company class, an itemprop, a label such as Salary:), or column_3 and so on. A card that repeats one kind of thing, like its tags, has them in one cell (Contract, Engineering); a value every card shares, like a View details button, is left out, and so is a card the page shows twice (a desktop and a mobile section).
consult.now’s jobs answer this table (first row):
title |
url |
company |
column_4 |
posted |
tag |
|---|---|---|---|---|---|
| Tax Consultant | https://consult.now/job/tax-consultant-9 | Frasers Property | Australia, On-site | Posted 15 hours ago | Contract, Finance, Real estate |
Cards count only when they are the page’s content: at least 5 of them, most of the page’s text and more than the prose around them, outside its header, footer, menus and side panels. An article’s rail of related stories, a product page’s other products, a menu’s sections and a not-found page’s suggestions are not data, and a page that declares its own one thing (a product, an article) answers with that thing alone.
X posts
A post on x.com is read from X’s own page, and structured is a post, with source x; tables, jsonld and embedded are empty. metadata.title is the post’s article title, or its author and first line, and metadata.final_url is the post’s own address.
| Field | What it holds |
|---|---|
author, handle |
the author’s name and X handle, without the @ |
url |
the post’s address, https://x.com/<handle>/status/<id> |
published |
the time it was posted, in UTC |
text |
the whole text, line breaks kept, links as their real addresses |
likes, reposts, replies, quotes, bookmarks, views |
the counts X shows |
media |
the addresses of its pictures (a video’s still image) |
thread |
the text of each of the author’s own replies that follow the post, in order |
quoted |
the post it quotes: its author, address, time, text, counts and media |
article |
an X article the post carries: its title, and its body as markdown |
An age-restricted post is X’s own sign-in notice with metadata.login_required: true, free. An x.com/i/article/<id> address is X’s sign-in screen and answers LOGIN_REQUIRED.
YouTube videos
A YouTube watch page, a Short, a youtu.be link or a channel’s live page is read from YouTube’s own page, and structured is a video, with source youtube; tables, jsonld and embedded are empty. metadata.title is the video’s title and metadata.final_url its own address.
| Field | What it holds |
|---|---|
name |
the video’s title |
duration |
its length as an ISO 8601 duration (PT3M33S); none for a live stream |
uploaded |
when it was uploaded |
thumbnail |
its still image |
url |
the video’s own address |
description |
the whole description, line breaks kept |
channel |
who published it: its name and the url of its page |
views |
how many times it was watched |
A video on any other site has the same fields when the page declares them. A video YouTube says does not exist, or has removed, answers NOT_FOUND, and one it says is private answers LOGIN_REQUIRED. A video YouTube plays only after its age check is its public details with metadata.login_required: true, free.
When there is no data
format=json succeeds only when the page holds a record:
- a JSON-LD item of a content type:
Product,ItemList,Recipe,FAQPage,Movie,Book,JobPosting,SoftwareApplication,LocalBusiness,VideoObject, or any…Article,…Event,…Postingor…Review - an HTML table of at least 3 rows with 3 readable cells, an embedded record table, or a list of at least 5 cards
- a
structuredobject: a product with a price, SKU or GTIN, an article with a date or author, a listing of at least 3 items, a recipe with ingredients or steps, an app with its system, category, price or rating, a creative work with a date, rating, genre or people, an event with a start, a job with its company, place or date, an answered question, a business with an address or phone, a video with its address, date, length or channel, or an X post with text or an article
No data is NO_CONTENT, and free A prose page with no structured data answers
NO_CONTENTwithretryable: false: the page was read and holds none, so the same request meets the same answer. Ask formarkdowninstead.
Bounds
- The whole
jsonobject is at most 2 MiB; what does not fit is left out andmetadata.truncatedistrue. structuredandtablescome first and are what an agent should read;jsonldandembeddedare the raw material behind them.
Cost
JSON costs what markdown costs: the price of the page’s level, 1 credit for most pages. A failure costs 0. See Credits.