Skip to main content
POST
Extract data
Submits an extraction request. The type selects the extractor, and target identifies the account, repository, or web page.

Example

Response

For web2list, Lev8 requires instruction, accepts only a public HTTP or HTTPS URL in target, and always returns a normalized metadata.limit of 100. Invalid input returns 422 through the standard error envelope before the extraction workflow starts.

Authorizations

Authorization
string
header
default:lev8_live_...
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

Optional stable key for this logical request. When omitted, lev8 generates one and returns it in the response Header.

Maximum string length: 128

Body

application/json
type
enum<string>
required

Extraction type. web2list extracts a structured list from a web page; the other values return social or GitHub lists.

Available options:
x_followers,
x_following,
github_user_followers,
github_user_following,
github_repo_stargazers,
github_repo_contributors,
ins_followers,
ins_following,
tiktok_followers,
tiktok_following,
web2list
Example:

"web2list"

target
string
required

Account handle, GitHub repository, repository URL, or web page URL to extract from.

Required string length: 1 - 2048
Example:

"https://www.forbes.com/30-under-30/2026/ai"

instruction
string | null

Required for web2list. Describes the list items and fields to extract.

Maximum string length: 4000
Example:

"Extract all 30 Under 30 names, companies, and positions from the AI category list"

limit
integer
default:100

Maximum number of social or GitHub list results. web2list ignores this field.

Required range: 1 <= x <= 10000
Example:

20

Response

Extracted data.

success
boolean
required
Example:

true

data
required

Extracted list data on success, or a failure reason string when success is false.

Example:
metadata
object
required