Oxendra API
Base URL: this host. All API responses are JSON. Payments are collected outside the API (Cash App / PayPal); shop purchases complete on Etsy.
Authentication
Send your key on every /api/* request:
X-API-Key: <your-api-key>
Contact akmor@muse.ai to request a key. (If no key is configured on the server, requests are accepted without one — review mode.)
Endpoints
| Method & path | What it does |
|---|---|
GET /api/services | Video-service catalog with exact prices, deposits, and payment terms; plus shop info. |
GET /api/availability | Open production slots for the next 7 days (2 per day, America/Chicago). |
POST /api/bookings | Create a video-service booking. Returns a booking ID, the deposit due, and payment instructions. |
GET /api/bookings/:id | Look up a booking's status. |
GET /api/products?q=coffee | Search the Oxendra product feed (title/category match, up to 20 results). |
GET /api/products/all | The full product feed with its count. |
GET /api/local-services | Local-services categories customers can book (free for customers), plus the per-booking lead fees pros pay. |
POST /api/service-requests | Book a local pro. Body: {category, customer_name, contact_email or contact_phone, zip_code, job_details, preferred_time?}. Returns a request ID; a network pro contacts the customer directly. |
GET /api/service-requests/:id | Look up a local-service request's status. |
POST /api/pro-signups | Pros join the network. Body: {business_name, category, service_area, contact_email, contact_phone?}. First delivered booking is free. |
Example: create a booking
POST /api/bookings
X-API-Key: <your-api-key>
Content-Type: application/json
{
"service": "first-video",
"business_name": "Example Coffee Co.",
"contact_email": "owner@example.com",
"details": "30-second promo for our new location; clips coming by email."
}
201 Created
{
"booking_id": "OX-…",
"status": "received",
"service": "first-video",
"price": 35,
"deposit_due": 17.5,
"payment_instructions": "Pay via Cash App …",
"next_steps": "…"
}
Example: search products
GET /api/products?q=coffee
{
"query": "coffee",
"count": 3,
"results": [ { "title": "…", "price": 19.95,
"url": "https://www.etsy.com/listing/…", "category": "Mugs & Drinkware" } ],
"note": "Prices/availability can lag the live Etsy listing; checkout happens on Etsy."
}
Errors
Errors are JSON: { "error": { "code": "…", "message": "…" } } with a standard
HTTP status (400 invalid input, 401 bad/missing API key, 404 not found).