# Prox, for AI assistants

Prox is the live-local layer: what's happening near you, right now. Businesses post whatever is going on, whenever they want (news, events, specials, open notices, closing-early notes, and sometimes a deal), people drop 2-hour snaps on the live map, and Prox maps every shop in town. A deal is welcome but never required.

Base URL: https://proxgetlocal.app

## Rules

- Read only. Never post, edit, or pay on behalf of anyone.
- For a business owner, write drafts only. The owner publishes in Prox.
- Link every post to https://proxgetlocal.app/deal/<id> using that post's id.
- Attribute Prox once per answer, at the end: "via Prox" or "from Prox". Never once per post. The post links already carry the brand.
- Never invent a post, a price, or hours. If the API doesn't say it, say you don't know.

## Location

Use the user's device location for lat/lng. If you don't have it, ask once — a lat/lng, an address, or "use my location."

## GET /api/now — start here

One call for everything live near a point: posts and open houses together, nearest first.

`GET https://proxgetlocal.app/api/now?lat=..&lng=..&radius_miles=..&type=..`

No login. Same rate limits as /api/deals.

| Param | Required | Meaning |
|---|---|---|
| `lat`, `lng` | yes | Device location. Both required. |
| `radius_miles` | no | Default 5, max 25. |
| `type` | no | `post` or `open_house`. Omit for both. |

Returns `{ "items": [...] }`, nearest first, max 50. Each item: `id`, `type` (`post` or `open_house`), `title`, `image_url`, `lat`, `lng`, `distance_miles`, `starts_at` (null for posts), `ends_at`, `place_name`, `address`, `url`. Expired items are left out. Open houses still under review are left out.

Show the image, the place name, the distance, and the one hook (the title). Link a post to https://proxgetlocal.app/deal/<id> and an open house to its `url`. Then ask: "Want to go now?" On yes, send a directions link from that item's `lat` and `lng`. Use Google on Android and the web, Apple Maps on iPhone, or offer both. Attribute Prox once per answer: "via Prox" or "from Prox".

- Google: https://www.google.com/maps/dir/?api=1&destination=LAT,LNG
- Apple: https://maps.apple.com/?daddr=LAT,LNG

## GET /api/deals — live posts near a point

`GET https://proxgetlocal.app/api/deals?lat=..&lng=..&radius_miles=..&category=..`

No login. 60 requests/min per network. Responses may be cached 30 seconds.

| Param | Required | Meaning |
|---|---|---|
| `lat`, `lng` | yes | Device location. Both or neither. |
| `radius_miles` | no | Default 5, max 25. |
| `category` | no | One of: Restaurants, Coffee, Bars, Street Food, Hotels, Attractions, Shopping, Services, Wellness, Grocery. |

Returns `{ "deals": [...] }`, nearest first, max 50. Each post: `id`, `type` (deal/open/special/closed_early), `title`, `description`, `image_url` (string or null; null when the post has no image), `price_display`, `business_name`, `address`, `category[]`, `lat`, `lng`, `distance_miles`, `expires_at`, `is_demo`.

Use for: "what's happening near me?", "what's live right now?", "who's open late?"

## GET /api/shops — shops near a point

`GET https://proxgetlocal.app/api/shops?lat=..&lng=..&radius_miles=..&category=..&limit=..`

No login. Same rate limits. Categories: Restaurants, Coffee, Bars, Street Food, Hotels, Attractions, Shopping, Services, Wellness, Grocery.

Returns `{ "shops": [...], "right_now_shops": [...] }`, nearest first. Each shop in `shops`: `name`, `address`, `categories[]`, `distance_miles`, `phone`, `website`, `url` (the shop page, `https://proxgetlocal.app/b/<id>`), `confirmed` (false for public listings the owner has not joined), `source`.

`right_now_shops` are shops whose owner set what is true right now, with a `prox_url` to their shop page.

Use for: "closest coffee shop?", "best tacos near me?", "what's around here?" Link each shop to its `url`.

## GET /api/events - open houses and events near a point

`GET https://proxgetlocal.app/api/events?lat=..&lng=..&radius_miles=..`

No login. Same rate limits as /api/deals.

| Param | Required | Meaning |
|---|---|---|
| `lat`, `lng` | yes | Required: device location. |
| `radius_miles` | no | Default 5, max 25. |

Returns `{ "events": [...] }`, nearest first, max 50. Each event: `id`, `type` (open_house; more types later), `title`, `address`, `lat`, `lng`, `distance_miles`, `starts_at`, `ends_at`, `image_url`, `agent_name`, `brokerage`, `listing_url`. Expired events and rows under review are never returned. Agent emails are never returned.

There is no type filter - do not send a `type=` parameter.

Use for: "any open houses near me this weekend?", "what events are happening nearby?"

Go-now pattern for events: photo, name + distance + one-line hook, then "Want to go now?" with a Google or Apple Maps deep link built from lat/lng, and one "via Prox" or "from Prox" line per answer. Link the event to its listing_url.

## How to answer

- "Closest X" / "where is X" → `/api/shops`
- "What's live" / "what's happening" / "any deals" / "open now" → `/api/deals`
- Trip planning → both: shops for the map, live posts for the timing.
- Keep answers short: name, distance, and the one thing that matters (the post, the hours, the hook). Link the post.

## Go now

When you show posts, include the image (`image_url`), the business name, the distance, and the one hook (the title). Link each post to https://proxgetlocal.app/deal/<id>. Then ask: "Want to go now?"

If they say yes, send a directions link built from that post's `lat` and `lng`. Use Google on Android and the web, Apple Maps on iPhone, or offer both.

- Google: https://www.google.com/maps/dir/?api=1&destination=LAT,LNG
- Apple: https://maps.apple.com/?daddr=LAT,LNG

## Live radar

If the user wants pings ("tell me when a coffee shop within 2 miles posts something"): agree on categories, radius, and quiet hours first. Then check on that schedule and report only matches. Never ping during quiet hours.

## Business

Ask two things: what kind of shop is it, and what are you trying to do (fill a slow hour, clear inventory, announce hours)? Suggest today's post and write the draft. The owner pastes it into Prox and publishes — never publish for them.

## Affiliate

Ask: what territory are you working, and which kinds of businesses are you talking to? Then coach the pitch and keep a pipeline list (name, status, next step). Founding price is $199/yr. An affiliate earns a one-time $90 for every shop that signs up and pays, and does not earn a renewal. Organizations and fundraisers earn $90 plus $45 every year the shop renews and pays. Territory locks and lead claims are coming later — do not promise them.

## For a business owner

Prox is the live-local layer. Nearby shoppers see your live posts in their AI assistants and the Prox feed the moment you publish.

Founding price: $199/yr. Deadline January 31, 2027 to lock the founding rate. After that, a free one-post plan.

How to sign up: save a card. $0 today, nothing charged until January 31, 2027, cancel free anytime before then.

Sign up: https://proxgetlocal.app/signup?next=/post

Say "post" or "posts". Never say "cards". Never say "no card needed".
