Chat Completions
by Bot Bazaar in AI models & inference
OpenAI-compatible deterministic security, DeFi, compliance, DevOps, and FinOps auditor chat completion endpoint ($0.01 USDC or 10,000 micro-credits via X-Bazaar-Key / Authorization: Bearer bz_live_...). Also mounted at /v1/chat/completions.
https://bot-bazaar.fly.dev/v1/x402/chat/completions- Price
- $0.01
- per call in USDC
- Uptime
- 98.0%
- last 30 days
- Response time
- 418 ms
- 694 ms slowest 5%
- Last check
- Passed
- 8 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://bot-bazaar.fly.dev/v1/x402/chat/completions
Each call costs $0.01 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://bot-bazaar.fly.dev/v1/x402/chat/completions?model=bazaar-auditor-v1&prompt=Audit+smart+contract+security+and+EIP-3009+parametersParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | No | Deterministic auditor model ID One of: bazaar-auditor-v1, bazaar-suite-pro-v1. |
prompt | string | No | Audit prompt or question (or pass OpenAI messages[] in POST JSON body) |
tool | string | No | Optional explicit Bot Bazaar tool slug |
Example response
The provider's example. We can't check it without paying. Shortened for display.
Example response, 121 lines
{
"bazaar_structured_result": {
"composite_posture_score": 96,
"composite_risk_score": 4,
"disclaimer": "Automated composite analytical & schema audit only — not legal advice, not financial or investment advice, not tax advice, and not a formal third-party security certification.",
"executive_grade": "A+",
"prioritized_remediation_checklist": [
"Return HTTP 402 with PAYMENT-REQUIRED base64 header on GET, POST, and HEAD requests.",
"Include extensions.bazaar input/output examples and JSON Schema Draft 2020-12 for Coinbase CDP Bazaar indexing.",
"Support both Coinbase CDP (primary) and PayAI (request-selectable/fallback) facilitators on eip155:8453 Base USDC."
],
"sub_check_count": 6,
"sub_checks": {
"caip2_network": {
"asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"asset_matches_canonical_usdc": true,
"caip19_asset_id": "eip155:8453/erc20:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"caip2_syntax_valid": true,
"chain_metadata": {
"cdp_bazaar_supported": true,
"chain_id": 8453,
"chain_name": "Base Mainnet",
"decimals": 6,
"usdc": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
"network": "eip155:8453",
"recognized": true
},
"eip3009_params": {
"checks": {
"base_chain_id_ok": true,
"is_canonical_base_usdc": true,
"nonce_bytes32_ok": true,
"usdc_domain_name_ok": true,
"usdc_domain_version_ok": true,
"validity_window_ok": true,
"verifying_contract_format_ok": true
},
"domain": {
"chainId": 8453,
"name": "USD Coin",
"verifyingContract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"version": "2"
},
"eip712_domain_typehash": "0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f",
"transfer_with_authorization_typehash": "0x7c7c6cdb67a18743f49ec6fa9b35f50d52ed05cbed4cc592e13b44501c1a2267",
"valid": true
},
"eip712_domain": {
"domain": {
"chainId": 8453,
"name": "USD Coin",
"verifyingContract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"version": "2"
},
"domain_separator": "0x02fa7265e7c5d81118673727957699e4d68f74cd74b7db77da710fe8a2c7834f",
"matches_base_usdc_v2": true,
"name_hash": "0x52878b207aaddbfc15ea7bebcda681eb8ccd306e2227b61cef68505c8c056341",
"type_hash": "0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f",
"version_hash": "0xad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5"
},
"facilitator_compat": {
"autonomous_crawler_sweep_ready": true,
"cdp_bazaar_compatible": true,
"has_bazaar_extension": true,
"method": "GET",
"network": "eip155:8453",
"price_usdc": "0.01",
"recommendation": "Use GET + $0.01 USDC + extensions.bazaar schema for maximum autonomous CDP crawler conversion."
},
"payment_header": {
"amount_atomic": "10000",
"amount_usdc": "0.01",
"meets_cdp_1000_atomic_min": true,
"network": "eip155:8453",
"pay_to_checksum": "0x6E007731870EDe419CfB31889Cd5C4493CEcb04c",
"valid": true,
"x402_version": 2
},
"pricing_advisor": {
"breakeven_outside_calls": 1,
"category": "security-and-compliance",
"empirical_benchmarks": {
"cdp_endpoints_at_or_below_0_01_pct": 69,
"cdp_endpoints_at_or_below_0_05_pct": 87.5,
"observed_crawler_auto_buy_cap_usdc": "0.01-0.05"
},
"indexing_self_test_cost_usdc": "0.01",
"recommended_discovery_price_usdc": "0.01",
"strategy": "Expose a deterministic $0.01 GET route with queryParams in extensions.bazaar to capture 100% of autonomous indexer sweeps."
}
},
"suite": "x402-merchant-launch-audit",
"title": "x402 v2 Merchant Launch, EIP-3009 & Dual-Facilitator Certification Suite",
"tool": "suite/x402-merchant-launch-audit",
"valid": true
},
"bazaar_tool_executed": "suite/x402-merchant-launch-audit",
"choices": [
{
"finish_reason": "stop",
"index": 0,
"message": {
"content": "### Bot Bazaar Deterministic Audit (`suite/x402-merchant-launch-audit`)\n- **Model:** `bazaar-auditor-v1`\n- **Executive Grade:** `A+` (Posture Score: `96/100`, Risk Score: `4/100`)\n- Return HTTP 402 with PAYMENT-REQUIRED base64 header on GET, POST, and HEAD requests.\n- Include extensions.bazaar input/output examples and JSON Schema Draft 2020-12 for Coinbase CDP Bazaar indexing.\n- Support both Coinbase CDP (primary) and PayAI (request-selectable/fallback) facilitators on eip155:8453 Base USDC.\n\n```json\n{\n \"suite\": \"x402-merchant-launch-audit\",\n \"tool\": \"suite/x402-merchant-launch-audit\",\n \"title\": \"x402 v2 Merchant Launch, EIP-3009 & Dual-Facilitator Certification Suite\",\n \"valid\": true,\n \"composite_risk_score\": 4,\n \"composite_posture_score\": 96,\n \"executive_grade\": \"A+\",\n \"sub_check_count\": 6,\n \"sub_checks\": {\n \"eip3009_params\": {\n \"valid\": true,\n \"domain\": {\n \"name\": \"USD Coin\",\n \"version\": \"2\",\n \"chainId\": 8453,\n \"verifyingContract\":…",
"role": "assistant"
}
}
],
"created": 1793120000,
"disclaimer": "Automated deterministic analytical & schema audit only — not legal, tax, financial, or formal security advice.",
"generated_at": 1793120000,
"id": "chatcmpl-bz-53df72c60e8fb9bf",
"model": "bazaar-auditor-v1",
"object": "chat.completion",
"tool": "chat/completions",
"usage": {
"completion_tokens": 1152,
"prompt_tokens": 13,
"total_tokens": 1165
}
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://bot-bazaar.fly.dev/v1/x402/chat/completions?model=bazaar-auditor-v1&prompt=Audit+smart+contract+security+and+EIP-3009+parameters'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://bot-bazaar.fly.dev/v1/x402/chat/completions?model=bazaar-auditor-v1&prompt=Audit+smart+contract+security+and+EIP-3009+parameters' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fbot-bazaar.fly.dev%2Fv1%2Fx402%2Fchat%2Fcompletions
const res = await pay("https://bot-bazaar.fly.dev/v1/x402/chat/completions?model=bazaar-auditor-v1&prompt=Audit+smart+contract+security+and+EIP-3009+parameters");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://bot-bazaar.fly.dev/v1/x402/chat/completions?model=bazaar-auditor-v1&prompt=Audit+smart+contract+security+and+EIP-3009+parameters")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 8 h ago | Passed | 402 | 447 ms | $0.01 |
| 39 h ago | Timed out | - | - | - |
| 4 days ago | Timed out | - | - | - |
| 4 days ago | Passed | 402 | 414 ms | $0.01 |
| 4 days ago | Passed | 402 | 1.2 s | $0.01 |
Show 10 older checks
| 5 days ago | Passed | 402 | 294 ms | $0.01 |
| 5 days ago | Passed | 402 | 478 ms | $0.01 |
| 6 days ago | Passed | 402 | 718 ms | $0.01 |
| 6 days ago | Passed | 402 | 584 ms | $0.01 |
| 6 days ago | Passed | 402 | 644 ms | $0.01 |
| 7 days ago | Passed | 402 | 585 ms | $0.01 |
| 7 days ago | Passed | 402 | 653 ms | $0.01 |
| 7 days ago | Passed | 402 | 239 ms | $0.01 |
| 7 days ago | Passed | 402 | 410 ms | $0.01 |
| 8 days ago | Passed | 402 | 633 ms | $0.01 |