A

Agentpaystore · Forge Chat

by Agentpaystore

POSTBaseSolanabase

$0.1

per call · USD Coin on Base

Multi-turn coding conversation: send the whole message history and get the next answer, so the agent keeps the earlier code in mind. Returns a streamed text response (server-sent events) containing the reply with code in fenced blocks. Same engine as /forge/api/query - Python, TypeScript, Solidity, Rust, Go, SQL, Bash, plus live GitHub examples - use this one when you intend to iterate rather than ask once.

Endpoint

POST https://agentpaystore.com/forge/api/chat

7

Calls / 30d

1

Unique payers / 30d

Sep 9

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://agentpaystore.com/forge/api/chat", {
  method: "POST",
});
const data = await res.json();
cURL
curl -X POST \
  "https://agentpaystore.com/forge/api/chat" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "reply": "```python\ndef retry(fn, n=3):\n    ...\n```",
  "stream": "text/event-stream"
}

Payment details

Pay to0x367f1b3d8ca90d1e087481a9a40d585bf3451a03
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, base
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from Agentpaystore & similar services