Lead Ping/Post API
How it works
Leads are sold in two quick steps, called ping and post.
- Ping: send the basics of the move (zip codes, date, size) with no contact details. The answer comes back instantly: a price, or a rejection with a reason.
- Post: if the price works for you, send the full lead with contact details within 3 minutes, using the key returned by the ping.
Accounts set up as post-only skip step 1 and post every lead at a fixed agreed price.
Authentication
Every request must include the API key provided to you. It is 8 characters, letters and digits.
Where to send it
| Where | Example | Note |
|---|---|---|
| Header | x-api-key: ABCD2345 |
Preferred |
| End of the path | POST /lead/ping/ABCD2345 |
Fallback, if your system cannot set headers |
| Body field | "key": "ABCD2345" |
Fallback |
When the API key is in the body of a post, send the ping key as ping_key so the two are not confused.
If the key is missing or wrong
- No key, or an unknown key: HTTP 401 with
{"status":"rejected","reason":"unauthorized"} - Paused account:
{"status":"rejected","reason":"paused"}on every call
Request and response format
What to send
- JSON (
application/json) or a regular form post (application/x-www-form-urlencoded) - Extra fields are ignored, so you can leave them in
What comes back
- Always JSON
- Accepted and rejected are both HTTP 200. Read the
statusfield:
{"status":"accepted", ...}
{"status":"rejected","reason":"..."}
- Only three cases use other HTTP codes:
- 401: missing or wrong key
- 400: the body could not be read
- 500: internal error
Some accounts get no price in an accepted ping. On its own, accepted means the lead is wanted at the agreed terms.
Ping
Send the move details, without any contact details.
| Field | Required | Format |
|---|---|---|
fromzip |
yes | 5 digits |
tozip |
yes | 5 digits |
movedate |
yes | YYYY-MM-DD or MM/DD/YYYY |
movesize |
yes | see the size table below |
fromstate, tostate |
no | 2-letter state code; filled in from the zip when missing |
fromcity, tocity |
no | text |
Move sizes
Send the words or the number:
| You send | Code |
|---|---|
studio |
0 |
1 bedroom, 1br |
1 |
1 bedroom house |
2 |
2 bedroom, 2br |
3 |
2 bedroom house |
4 |
3 bedroom, 3br |
5 |
3 bedroom house |
6 |
4 bedroom, 4br |
7 |
4 bedroom house |
8 |
5 bedroom or larger |
9 |
- "2 bedroom" on its own means an apartment or small home; add
housefor the larger size - Words like
one,two,threework in place of digits - Anything else is rejected as
invalid
Example
Request:
POST /lead/ping
x-api-key: ABCD2345
Content-Type: application/json
{
"fromzip": "75407",
"tozip": "72404",
"movedate": "2026-11-06",
"movesize": "5 bedroom",
"fromstate": "TX",
"tostate": "AR"
}
Accepted:
{"status":"accepted","key":"ABCD2345EFGH","price":"27.50","expires_in":180}
price: the offer for this lead, in US dollars, as text with two decimalskey: use it once, on the post, withinexpires_inseconds (3 minutes)
Rejected:
{"status":"rejected","reason":"not_accepted"}
Ping reasons
reason |
Meaning |
|---|---|
not_accepted |
This lead is not being accepted right now. Try again later. |
limit_reached |
The daily limit is reached. Resumes the next business day. |
paused |
Your account is paused. |
outside_hours |
Your account only accepts requests during its working hours (New York time). Try again inside the window. |
invalid |
A field is missing or malformed; errors lists them, for example ["fromzip: must be 5 digits"]. |
ping_not_supported |
Your account is post-only; skip the ping and post directly. |
unauthorized |
HTTP 401. No key, or an unknown key. |
Post
Send everything from the ping, plus the contact details and the ping key.
| Field | Required | Format |
|---|---|---|
key (or ping_key) |
yes, unless post-only | the key returned by the ping |
fullname |
yes | up to 200 characters |
phone |
yes | 4 to 40 characters: digits, spaces, + - ( ) . |
email |
yes | a valid address |
source |
no | your own reference for this lead, up to 100 characters |
notes |
no | up to 5000 characters |
| ping fields | yes | same rules as the ping |
Example
Request:
POST /lead/post
x-api-key: ABCD2345
Content-Type: application/json
{
"key": "ABCD2345EFGH",
"fromzip": "75407",
"tozip": "72404",
"movedate": "2026-11-06",
"movesize": "5 bedroom",
"fromstate": "TX",
"tostate": "AR",
"fullname": "Devanie Thompson",
"phone": "7405843340",
"email": "devalyn64@example.com",
"source": "MO-14362"
}
Accepted:
{"status":"accepted","id":"lead_01ABC..."}
id is the reference for this lead. Keep it with your records; it is what will be quoted back to you.
Post reasons
reason |
Meaning |
|---|---|
ping_required |
Your account requires a ping; no key was sent. |
ping_not_found |
The key is unknown, belongs to another account, or its ping was rejected. |
ping_expired |
More than 3 minutes passed since the ping. Ping again. |
already_posted |
This key was already used. Each key accepts exactly one post. |
limit_reached |
Post-only accounts: the daily limit is reached. |
paused |
Your account is paused. |
outside_hours |
Your account only accepts requests during its working hours (New York time). Try again inside the window. |
invalid |
A field is missing or malformed; errors lists them. |
unauthorized |
HTTP 401. No key, or an unknown key. |
Good to know
- One post per key. The first accepted post uses up the key. Any later post with it gets
already_posted. - 3 minutes, strictly. If you cannot post in time, ping again. A new ping gets a fresh price.
- The price is set by the ping. The ping's price is what is recorded for the lead. Post-only accounts are recorded at the agreed fixed price.
Test mode
Add "test": true (or "true" / "1") to a ping or a post to try your integration without buying anything. Any other value means a real request.
- A test ping is checked exactly like a real one and answers with a key starting with
TEST. Thepricein a test answer is always0.00. - A test post with that key answers
acceptedwith anidstarting withtest_. Nothing is created. - Test keys and real keys cannot be mixed. A real post with a
TESTkey, or a test post with a real key, getsping_not_found. - Post-only accounts may send a test post with no key.
Example test ping:
{
"test": true,
"fromzip": "75407",
"tozip": "72404",
"movedate": "2026-11-06",
"movesize": "2 bedroom"
}
Use test mode for your whole integration before sending real leads.
Errors
| HTTP | Body | What to do |
|---|---|---|
| 400 | {"status":"rejected","reason":"invalid","errors":["body: could not parse"]} |
Send valid JSON or form data. |
| 401 | {"status":"rejected","reason":"unauthorized"} |
Check the key and where you are sending it. |
| 500 | {"status":"error"} |
Temporary failure. You received no key and no lead id. Retry the same request after a short delay, with the same source and key. If the retry says already_posted, the first attempt went through; do not post the lead again. |
Testing your integration
- A
not_acceptedanswer during testing is normal: ping responses depend on live demand. Your request is still validated. - Send
"test": trueon every request until you are ready (see Test mode). A real accepted post is bought.