Texas real-estate license CE & renewal check (TREC)
Deterministic TREC rules: continuing-education hours, renewal fees and active-license requirements for Texas real-estate licensees, by license type. Rules-engine output, not an LLM guess.
$0.25 per call — paid in USDC on Base over the x402 protocol, settled by Coinbase. No API key, no signup.
Parameters
| param | description |
|---|---|
license_type | one of sales_agent | broker | broker_associate | inspector (required) |
first_time | true|false (default false) |
Call it (any x402 client)
# 1. GET without payment → HTTP 402 with PAYMENT-REQUIRED (price, payTo, scheme "exact")
curl -i "https://ai-money-endpoint.nibiashara.workers.dev/shelf/tx-realestate-ce-check?license_type=sales_agent&first_time="
# 2. Sign the payment (EIP-3009 transferWithAuthorization, gasless) and retry
# with the PAYMENT-SIGNATURE header → response body is the delivery.
With the official JS client the whole flow is one wrapped fetch:
import { wrapFetchWithPayment } from "@x402/fetch"; // npm i @x402/fetch @x402/evm
const fetchPaid = wrapFetchWithPayment(fetch, { /* your EVM signer */ });
const res = await fetchPaid("https://ai-money-endpoint.nibiashara.workers.dev/shelf/tx-realestate-ce-check?license_type=sales_agent&first_time=");
const data = await res.json();
Or install the MCP server (https://ai-money-endpoint.nibiashara.workers.dev/mcp, registry id biz.nibiashara/shelves) and use the job-named tool for this shelf, or buy_shelf as an escape hatch.
Calling this repeatedly? Buy a Shelf Pass once ($0.99 for 110 credits) and send
X-SHELF-PASS: <token> instead of paying per call — this shelf costs 25 credits per call.Example response
{
"licenseType": "sales_agent",
"ceHoursRequired": 18,
"source": "Ni Biashara deterministic rules engine"
}
Delivers
JSON TREC requirement breakdown