# API Triangle Hyper-local off-market real estate leads for Wake, Durham, and Orange counties, North Carolina. The feed covers absentee owners, active tax liens, and stacked distress (an absentee owner who also has an active tax lien). It also lists Triangle municipal surplus auctions. Base URL: https://api-triangle.com ## x402 pay-per-call 1. Call the free quote first: `GET /api/v1/leads/quote` with the same filters you plan to buy. It returns the match count, the last refresh time, and the USDC price. It does not return owner names or property addresses. 2. Pay that price on the data URL. Unpaid calls to `GET /api/v1/leads`, `GET /api/v1/surplus`, and `GET /api/v1/surplus/lots` return HTTP 402 with a `PAYMENT-REQUIRED` header. Retry the same URL with `PAYMENT-SIGNATURE`. Price per paid call: 0.005 USDC (5000 atomic units, 6 decimals). Network: Base (eip155:8453). Asset: USDC at 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913. Pay to: 0xee61dc8ced520bfd384f8aa118aaf0d6c2614566. Facilitator: https://facilitator.payai.network. The quote field `price_usdc` and the 402 challenge `accepts[0].amount` both come from `X402_AMOUNT_ATOMIC`. ## Links - OpenAPI: https://api-triangle.com/openapi.json - Full guide: https://api-triangle.com/llms-full.txt - Docs: https://api-triangle.com/docs - Agent card: https://api-triangle.com/.well-known/agent.json - x402 manifest: https://api-triangle.com/.well-known/x402 ## Lead filters These query parameters are shared by `GET /api/v1/leads/quote` (free) and `GET /api/v1/leads` (paid). | Parameter | Type | Values | Meaning | | --- | --- | --- | --- | | county | enum | wake, durham, or orange | One county. Omit for all three. | | distress | enum | stacked, tax_lien, or absentee | stacked = absentee owner AND active tax lien. tax_lien = active tax lien, including stacked. absentee = absentee owner, including stacked. Omit for either signal. | | min_lien | number | dollars, greater than 0 | Minimum tax delinquency, for example 1000. | | out_of_state | boolean | true \| false | Mailing address is outside North Carolina. | | new_this_week | boolean | true \| false | First stored in the last 7 days, or the lien amount changed in that window. | | limit | integer | 1 to 200, default 100 | Paid page size. The quote count ignores it. | County record routes stay at `GET /api/v1/{wake|durham|orange}/{deeds|assessor|filings}` with optional `limit`, `offset`, and `since`. ## Surplus filters `GET /api/v1/surplus` accepts `q`, `category` (Vehicles, Heavy Equipment, Tools, Building Materials, Land, IT, Other), `place` (wake, durham, orange, raleigh, cary, apex, holly_springs, garner, wake_forest, morrisville, chapel_hill, carrboro, hillsborough), `radius`, `window` (today, week, new), `sources` (govdeals, publicsurplus, nc_state), `min_bid`, `max_bid`, and `limit`. `GET /api/v1/surplus/lots` accepts `q`, `place`, `sources` (govdeals, triangle_liquidators, nc_state_surplus, ritchie_bros_butner, public_surplus, govplanet, property_room, hibid_local), `ending` (24h, 48h, 7d, all), `sort` (closing, total_asc, total_desc, newest, deal), `min_bid`, `max_bid`, and `limit`. ## Sample quote ```json { "matching_records": 48, "last_updated": "2026-11-23T06:00:00.000Z", "payment_protocol": "x402", "price_usdc": "0.005", "fetch_url": "https://api-triangle.com/api/v1/leads?county=wake&distress=stacked" } ``` Live call: `GET https://api-triangle.com/api/v1/leads/quote?county=wake&distress=stacked` ## Sample paid lead ```json { "schema_version": "1.0", "payment_protocol": "x402", "price_usdc": "0.005", "county": "wake", "distress": "stacked", "matching_records": 48, "limit": 100, "count": 1, "data": [ { "county": "Wake", "parcel_id": "0000000000", "property_address": "1 SAMPLE ST RALEIGH", "situs_address": "1 SAMPLE ST RALEIGH", "mailing_address": "88 SAMPLE BLVD TAMPA FL", "owner_name": "SAMPLE OWNER", "distress": "stacked", "is_absentee": true, "out_of_state": true, "tax_lien_active": true, "tax_delinquency_amount": 4820, "assessed_value": 385000, "equity_estimate": 261800 } ] } ``` The quote never includes `property_address`, `mailing_address`, or `owner_name`. ## x402 headers Unpaid paid-route response: HTTP 402. Response header: ``` PAYMENT-REQUIRED: base64({"x402Version":2,"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"5000","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","payTo":"0xee61dc8ced520bfd384f8aa118aaf0d6c2614566"}]}) ``` Retry the same URL with either a settled Base transfer: ``` PAYMENT-SIGNATURE: base64({"x402Version":2,"payload":{"txHash":"0x..."}}) ``` or an EIP-3009 USDC authorization for 0.005 USDC. The server settles that authorization at https://facilitator.payai.network/settle. A successful call sets `PAYMENT-RESPONSE`. Each transaction hash works once. A different query string is a different payment. Public stats at `GET /api/public/stats` are free and return `active_tax_liens`, `absentee_owners`, and `last_updated`.