PaisaLocal API
Price a concrete patio or driveway, a natural stone retaining wall or an outdoor kitchen in Dallas-Fort Worth, find who builds it, and book a free site visit. JSON in and out, no sign-in.
Service area is all of Dallas-Fort Worth by ZIP. A city without its own page is still priced and built.
Base URL: https://api.paisalocal.com/api/v1
What it does
PaisaLocal builds concrete patios and driveways, natural stone retaining walls and outdoor kitchens in Dallas-Fort Worth only. The API returns PaisaLocal's own installed price for a job, with every line item and permits for the ZIP included: the same quote paisalocal.com gives. A free site visit confirms the final price. Locations outside Dallas-Fort Worth get a 422 with code out_of_area and no price. Stone edging and French drains are priced on paisalocal.com.
Quickstart
Price a 20 x 20 ft broom finish concrete patio in Keller. First in sandbox mode, where nothing is saved:
curl -X POST https://api.paisalocal.com/api/v1/estimate -H 'Content-Type: application/json' -H 'X-Sandbox: true' -d '{"city":"Keller","project_type":"concrete","length_ft":20,"width_ft":20,"finish":"broom"}'The reply is the real price, with sandbox: true. Then the same call without the header, which saves the estimate and returns the estimateId that books a site visit:
curl -X POST https://api.paisalocal.com/api/v1/estimate -H 'Content-Type: application/json' -d '{"city":"Keller","project_type":"concrete","length_ft":20,"width_ft":20,"finish":"broom"}'Endpoints
POST /api/v1/estimatePaisaLocal's installed price for a job, line by line, from its own Dallas-Fort Worth price list (the same quote paisalocal.com gives). Send zip or city (the ZIP wins if both). Only the size is required: concrete length_ft and width_ft, a retaining wall length_ft and height_ft, an outdoor kitchen length_ft (8 to 24 feet of counter). Finish, stone, layout, appliances and countertop are optional: what is left out is priced with our pick, listed in assumptions (basis "our pick"), with options (photo URLs for stones, slabs and finishes) the homeowner can pick from in one more call. The estimate is saved and its estimateId books the site visit. Returns the installed price and an estimate_id. request_site_visit takes that id to book the visit that confirms the price.
curl -X POST https://api.paisalocal.com/api/v1/estimate -H 'Content-Type: application/json' -d '{"city":"Grapevine","project_type":"outdoor-kitchen","length_ft":12}'GET /api/v1/contractorsWhether PaisaLocal builds this type of project at this location. project_type: concrete, retaining-wall, outdoor-kitchen, curb-stone or french-drain. Read only.
curl 'https://api.paisalocal.com/api/v1/contractors?city=Grapevine&project_type=concrete'POST /api/v1/site-visitSend estimate_id alone to get the open visit times (reason pick_slot, slots). Then send one slot_date from that list with the homeowner's name and email to book. Phone and street address are optional. Only offered times can be booked. No deposit is taken. Returns the installed price and an estimate_id. request_site_visit takes that id to book the visit that confirms the price.
curl -X POST https://api.paisalocal.com/api/v1/site-visit -H 'Content-Type: application/json' -d '{"estimate_id":"mcp_00000000-0000-4000-8000-000000000000"}'GET /api/v1/searchSearch paisalocal.com's public pages (city cost pages, stone pages, guides, blog posts, these docs) and get ranked matches, each with title, url, description, city, project_type and dateModified. Send q, or filter with project_type (concrete, retaining-wall, outdoor-kitchen, curb-stone or french-drain) and city. Paginated with limit and offset. Read only. The MCP tool search_site gives the same results. The index it searches is at /search-index.json, rebuilt on every site deploy.
curl 'https://api.paisalocal.com/api/v1/search?q=retaining+wall+keller'GET /api/v1/healthLive status of the API: JSON with version and status. Check it any time at https://api.paisalocal.com/api/v1/health.
Errors
Every refusal has the same JSON shape: error (the HTTP status text), code (a stable machine-readable reason) and message (what to do next). A question for the homeowner also lists the choices.
HTTP/1.1 422 Unprocessable Entity
API-Version: v1
{
"error": "Unprocessable Entity",
"code": "out_of_area",
"message": "PaisaLocal serves Dallas-Fort Worth only, and "Austin" is not a Dallas-Fort Worth city it serves, so there is no price or contractor for it. Send a DFW city or a 5-digit DFW ZIP code."
}400invalid_request, invalid_zip, needs_location, invalid_dimensions, not_offered (project_type outside the list), needs_query (search with no q and no filter)404estimate_not_found, or not_found for an unknown path409already_booked422out_of_area (outside Dallas-Fort Worth). A missing finish, stone, layout, appliance package or countertop is never an error: it is priced with our pick and listed in assumptions429rate_limited (see Retry-After)503no_price: the job could not be priced automatically; continueUrl finishes it on paisalocal.com. search_unavailable: the site index could not be loaded; try again shortly
Sandbox mode
Send X-Sandbox: true on any endpoint to test. The call runs and answers as usual, but nothing is saved, booked or sent: the estimateId starts with pv_probe_, and a site visit answers reason probe_ok with booked false. The reply carries the header X-Sandbox: true and a top-level sandbox: true. Sandbox calls still count against the rate limit.
Command line
@paisalocal/cli is a small command line client for this API (Node 18 or newer, no dependencies, MIT). Install it from npm, then price the same Keller patio from a terminal:
npm install -g @paisalocal/cli
paisalocal estimate --city Keller --sqft 400 --finish broomIt also lists contractors (paisalocal contractors --city Keller), takes --sandbox to send X-Sandbox: true, and --json to print the reply as JSON. Source: github.com/paisalocal-inc/paisalocal-agents.
Rate limits
20 requests per 5 minutes per caller, across the estimate, contractors, site visit and search endpoints. Every reply carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (seconds until the window resets). Past the limit the answer is a 429 with code rate_limited and a Retry-After header in seconds. Booking attempts are also limited per estimate.
Versioning
The version is in the path (/api/v1) and in the API-Version header on every reply (value v1; X-API-Version carries the same value). Fields may be added to v1 replies.
The API is versioned under /api/v1. Breaking changes ship under a new version. The previous version keeps working for at least 90 days after the new one is announced, and during that window replies carry Deprecation and Sunset headers and /developers lists the date.
Specs and discovery
- /openapi.json: OpenAPI 3.1 spec for every endpoint, with request examples
- /.well-known/agent.json: Agent card
- /.well-known/mcp.json: MCP server manifest (the same actions as MCP tools)
- /.well-known/api-catalog: API catalog (RFC 9727)
- /connector: PaisaLocal in Claude (MCP connector)
- /mcp: MCP server page: endpoint, transport and every tool
- /search-index.json: The site search index (every public page with title, url, description, city, project_type and dateModified), rebuilt on every deploy
Security
Report a vulnerability to security@paisalocal.com. Names, emails, phones and addresses sent to the site visit endpoint are used only to arrange the visit, as described in our privacy policy.