Skip to content

Generate metadata1 payloads

POST
/metadata1
curl --request POST \
--url https://metadata1.antibotapi.com/metadata1 \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{ "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36", "referer": "https://www.amazon.com/", "location": "https://www.amazon.com/ap/signin", "email": "user@example.com", "password_length": 12 }'

Send the context of the sign-in you are doing. Returns one metadata1 value for the email step and one for the password step. They are bound to user_agent, so send the sign-in requests with exactly that string.

x-signature
string

A request signature. Required only when signing is on for your key. See Authentication.

Media typeapplication/json
object
user_agent
required

The User-Agent you will send the sign-in requests with, exactly.

string
referer

The page you came to sign-in from.

string
location

The URL of the sign-in page.

string
email
required

The email address entered into the form.

string
password_length
required

The number of characters in the password.

integer

Example

{
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36",
"referer": "https://www.amazon.com/",
"location": "https://www.amazon.com/ap/signin",
"email": "user@example.com",
"password_length": 12
}

Payloads generated.

Media typeapplication/json
object
success
boolean
metadata1
object
email

The metadata1 value for the email step.

string
password

The metadata1 value for the password step.

string

Example

{
"success": true,
"metadata1": {
"email": "ECdITeCs:zr7fdAC...",
"password": "HmS1pQ9v:8xKf2u..."
}
}

The request body is malformed. message says why.

Media typeapplication/json
object
success
boolean
message

What went wrong.

string

Example

{
"success": false
}

The API key is missing or invalid.

Media typeapplication/json
object
success
boolean
message

What went wrong.

string

Example

{
"success": false
}