Neynar · Example Payload
Create X402 Siwx
Create a Sign-In-With-X payload for a wallet-backed x402 resource.
Onchain
Create X402 Siwx is an example object payload from Neynar, with 9 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
operationIdmethodpathsummarydescriptiontagsparametersrequestBodyresponses
Example Payload
{
"operationId": "create-x402-siwx",
"method": "POST",
"path": "/v2/signature/x402/siwx",
"summary": "Create x402 Sign-In-With-X payload",
"description": "Create a Sign-In-With-X payload for a wallet-backed x402 resource.",
"tags": [
"Onchain"
],
"parameters": [
{
"name": "",
"in": "",
"required": false,
"description": ""
},
{
"name": "x-api-key",
"in": "header",
"required": true,
"description": "",
"schema": {
"type": "string"
}
}
],
"requestBody": {
"required": true,
"schema": {
"properties": {
"chainId": {
"anyOf": [
{
"enum": [
8453
],
"type": "number"
},
{
"enum": [
84532
],
"type": "number"
}
],
"default": 8453
},
"resource": {
"format": "uri",
"type": "string"
}
},
"required": [
"resource"
],
"type": "object"
},
"example": null
},
"responses": {
"200": {
"description": "Success",
"schema": {
"properties": {
"address": {
"$ref": "#/components/schemas/EthAddress"
},
"chainId": {
"anyOf": [
{
"enum": [
8453
],
"type": "number"
},
{
"enum": [
84532
],
"type": "number"
}
]
},
"message": {
"type": "string"
},
"signature": {
"pattern": "^0x[a-fA-F0-9]{130}$",
"type": "string"
},
"timestamp": {
"type": "number"
}
},
"required": [
"address",
"message",
"signature",
"timestamp",
"chainId"
],
"type": "object"
},
"example": null
},
"400": {
"description": "Bad Request",
"schema": {
"$ref": "#/components/schemas/ErrorRes"
},
"example": null
},
"401": {
"description": "Unauthorized",
"schema": {
"$ref": "#/components/schemas/ErrorRes"
},
"example": null
},
"403": {
"description": "Forbidden",
"schema": {
"$ref": "#/components/schemas/ErrorRes"
},
"example": null
},
"500": {
"description": "Server Error",
"schema": {
"$ref": "#/components/schemas/ErrorRes"
},
"example": null
}
}
}
Work with this as data
Every example here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for examples
4 MCP tools reach this
find_examplesBrowse and filter every example in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This example
curl "https://apis.io/api/v1/examples/create-x402-siwx"
All examples
curl "https://apis.io/api/v1/examples?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.