Get SIWE challenge message
curl --request POST \
--url https://api.0xarchive.io/v1/auth/web3/challenge \
--header 'Content-Type: application/json' \
--data '
{
"address": "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18"
}
'import requests
url = "https://api.0xarchive.io/v1/auth/web3/challenge"
payload = { "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({address: '0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18'})
};
fetch('https://api.0xarchive.io/v1/auth/web3/challenge', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.0xarchive.io/v1/auth/web3/challenge"
payload := strings.NewReader("{\n \"address\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"message": "<string>",
"nonce": "<string>"
}{
"code": 400,
"error": "Failed to deserialize query string: limit: invalid digit found in string",
"error_code": "invalid_query_params",
"request_id": "3f2a9c71-5b0e-4d68-9a4c-7e1d2b6f8a05"
}{
"code": 429,
"error": "Rate limit exceeded"
}Get SIWE challenge message
0xArchive API reference for Get SIWE challenge message. Includes authentication, parameters, response shape, examples, and route-safe implementation notes.
POST
https://api.0xarchive.io
/
v1
/
auth
/
web3
/
challenge
Get SIWE challenge message
curl --request POST \
--url https://api.0xarchive.io/v1/auth/web3/challenge \
--header 'Content-Type: application/json' \
--data '
{
"address": "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18"
}
'import requests
url = "https://api.0xarchive.io/v1/auth/web3/challenge"
payload = { "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({address: '0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18'})
};
fetch('https://api.0xarchive.io/v1/auth/web3/challenge', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.0xarchive.io/v1/auth/web3/challenge"
payload := strings.NewReader("{\n \"address\": \"0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"message": "<string>",
"nonce": "<string>"
}{
"code": 400,
"error": "Failed to deserialize query string: limit: invalid digit found in string",
"error_code": "invalid_query_params",
"request_id": "3f2a9c71-5b0e-4d68-9a4c-7e1d2b6f8a05"
}{
"code": 429,
"error": "Rate limit exceeded"
}Last modified on August 13, 2026
Was this page helpful?
⌘I