N

Nsgoods · Preflight

by Nsgoods

GETBase

$0.015

per call · USD Coin on Base

Signed composite preflight (payability + sanctions + trust) of one subject address

Endpoint

GET https://x402.nsgoods.org/preflight

4

Calls / 30d

2

Unique payers / 30d

Sep 5

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402.nsgoods.org/preflight", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402.nsgoods.org/preflight?address=0xc87a06DEE4c0E85912296002617120BBfd5EF990&chain=eip155%3A8453&role=payee" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "components_evaluated": 3,
  "envelope": {
    "signature": "0x00",
    "signer": "0x57fF0F084Cba33e6761503f90eEF0Da9F159350c"
  },
  "schema_version": "preflight_v3"
}

Payment details

Pay to0xc87a06dee4c0e85912296002617120bbfd5ef990
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Nsgoods & similar services