API reference
Public endpoints for Racket Land. All responses are JSON.
| Method | Path | Purpose |
|---|---|---|
GET | /api/public/browse-facets | Per-taxonomy-slug counts for this instance's catalog. |
GET | /api/public/map-pins | Mappable listing pins (id, name, lat, lng, spriteKey). |
GET | /api/public/site | Site content: hero copy, testimonials, trust pillars, how-it-works, social links, guides, legal pages. |
GET | /api/public/listings/[id]/nearby | Other published listings near this one, ranked by real distance. |
GET | /api/scout | Intent search: ?q= required, ?lat=&lng=&budgetMinor= optional. |
POST | /api/ingest | Create a discovery card. Requires x-api-key (INGEST_API_KEY). |