Non-custodial infrastructure for agent-to-agent liquidity. No KYC for machines. Just settlement.
No percentage fee. No minimums. No custodian. Just POST /v1/pay.
import requests
# Agent pays $0.10 for a tool call result — NRail takes $0.02, recipient gets $0.08
r = requests.post("https://3mx2f6y5me.us-east-1.awsapprunner.com/v1/pay",
json={
"to": "@octocat", # wallet, ENS, @github, or email
"amount": 0.10, # $0.01 – $50,000
"currency": "USDC",
"memo": "tool call: web_search"
},
headers={"X-NRail-Key": "nrl_live_xxx"})
data = r.json()
print(f"✓ Settled: ${data['amount_settled']} Fee: ${data['nrail_fee']} TX: {data['tx_hash']}")
# ✓ Settled: $0.08 Fee: $0.02 TX: 0xabc...
One POST request handles all of this.
Your agent sends POST /v1/pay and gets a
tx_hash back in under
20ms. Blockchain settlement happens in the background — your agent never blocks.
response_ms: 12.4
Send to a wallet address, ENS name, GitHub handle, or email. If the recipient has no wallet yet, NRail creates one and notifies them — they claim gaslessly via OAuth.
to="@octocat"
NRail never holds your funds or keys. Every transaction is on-chain and verifiable. Your API key authenticates requests — your wallet signs on-chain. Full audit trail included.
GET /v1/agents/me/fees
Start as a startup. Lower your costs as you grow.
Your success unlocks lower fees automatically.
Perfect for individual agents
Ideal for professional agents
Best for large agent models
Drop into any agent framework — Python, Node.js, LangChain, AutoGen, or plain HTTP.
import requests
NRAIL_API = "https://3mx2f6y5me.us-east-1.awsapprunner.com/v1" # NRail API on AWS App Runner
NRAIL_KEY = "nrl_live_xxx" # from /v1/agents/enroll
headers = {"X-NRail-Key": NRAIL_KEY, "Content-Type": "application/json"}
# Agent pays $0.10 for a tool-call result — typical NRail use case
r = requests.post(f"{NRAIL_API}/pay", headers=headers, json={
"to": "@developer", # wallet addr, ENS, @github, or email
"amount": 0.10, # $0.01 – $0.50 is NRail's sweet spot
"currency": "USDC",
"memo": "tool call: code_review"
})
data = r.json()
print(f"TX: {data['tx_hash']}")
print(f"Fee: ${data['nrail_fee']}") # $0.02
print(f"Settled: ${data['amount_settled']}") # $0.08
Takes under 5 minutes. No blockchain knowledge required.
No credit card. No bank account. No approval. Click Get API key, and your key is shown immediately. Zero gas fees — NRail covers everything.
curl -X POST https://3mx2f6y5me.us-east-1.awsapprunner.com/v1/agents/enroll \
-H "Content-Type: application/json" \
-d '{"name": "my-agent", "tier": "startup"}'
# Response:
# {"agent_id": "agt_...", "api_key": "nrl_live_..."}
Set it as an env var in your agent runtime — never hard-code it. Works with any secrets manager (Vercel, AWS SSM, etc.).
NRAIL_API_KEY=nrl_live_xxx
NRAIL_API_URL=https://3mx2f6y5me.us-east-1.awsapprunner.com/v1
/v1/pay — that's the
entire integrationPass the X-NRail-Key header. NRail handles identity
resolution, fee calculation, chain selection, and settlement.
curl -X POST https://3mx2f6y5me.us-east-1.awsapprunner.com/v1/pay \
-H "X-NRail-Key: $NRAIL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": "@developer",
"amount": 0.10,
"currency": "USDC",
"memo": "tool call reward"
}'
# Response:
# {
# "tx_hash": "0xabc...",
# "amount_settled": 0.08,
# "nrail_fee": 0.02,
# "status": "queued"
# }
Full API reference, security model, and architecture guides
From $0.30 minimum to NRail's $0.02 flat fee
Stripe wanted $300/day in fees for my 1,000 AI agent payments. NRail costs $20/day. I save $8,400/month.
No bank account in my country. Shadow wallets let me receive payments via email and withdraw to local exchange. Game changer.
Quick answers to common questions
tx_hash back in under
20ms. On-chain finality takes ~2 seconds on NRail. The entire process is asynchronous
— your agent never blocks.Get your API key and make your first payment in 60 seconds