Sweatpals Public API

The read-only public Sweatpals API, used by AI agents, assistants and other integrations to find fitness and wellness experiences on Sweatpals (run clubs, yoga, pilates, bootcamps, sound baths, social workouts and more) and send people to the right page to book.

  • No authentication. No API key or OAuth.
  • Read-only. Nothing is booked through the API. Each result has a url (event page) and, on detail, a booking_url (checkout); payment and sign-in happen on Sweatpals.
  • JSON, snake_case. Optional fields are always present as null. Times are ISO 8601 with the venue's UTC offset (e.g. 2026-10-03T07:00:00-05:00) plus an IANA timezone.
  • Fresh within 60 seconds. Responses are cached for up to 60s.

Base URL and spec

Base URL https://ilove.sweatpals.com/api/public/v1
OpenAPI 3.1 spec https://ilove.sweatpals.com/api/public/v1/openapi.json
Spec (sweatpals.com mirror, once live) https://sweatpals.com/api/public/v1/openapi.json
Interactive docs (Swagger UI) https://ilove.sweatpals.com/api/public/v1/docs

Import the spec into any OpenAPI-aware agent framework, custom GPT action or OpenAPI/MCP connector to get typed tools for the endpoints below.

Endpoints

GET /experiences/search

Semantic search over upcoming public experiences, most relevant first. One entry per recurring series (its next matching date).

Param Type Default Notes
query string, required What the user wants, 1-300 chars. Activity, style, level, vibe.
lat, lng number Search center. Must be sent together. Wins over market.
radius_km number 25 Max 200. Requires lat + lng.
market string A slug from /markets, or a city name (Austin, Austin, TX). Unknown values return 400.
date_from ISO 8601 date or date-time now Past values are clamped to now.
date_to ISO 8601 date or date-time date_from + 90 days A bare date (2026-10-03) includes that whole UTC day; a date-time (2026-10-03T00:00:00Z) is used as-is. date_from..date_to may span at most 366 days (longer returns 400).
price_max number Major units of currency, compared against the price checkout charges now (active time-based offers applied). Free and donation-based experiences always pass.
currency ISO 4217 USD Currency of price_max; priced experiences in another currency are excluded when price_max is set.
limit integer 10 Max 25.
cursor string next_cursor from the previous page; resend the same other params. Paging covers roughly the top 275 ranked matches (the search ranks at most 300 candidates), after which next_cursor is null; narrow the search to see more.

Pages can hold fewer than limit results (for example when price_max removes some). Keep paging while next_cursor is non-null.

curl 'https://ilove.sweatpals.com/api/public/v1/experiences/search?query=sunrise%20trail%20run&market=austin-tx&date_from=2026-10-01&date_to=2026-10-07&limit=2'
{
  "results": [
    {
      "id": "0b7e5c1a-2f3d-4e5f-8a9b-0c1d2e3f4a5b",
      "event_id": "9d8c7b6a-5f4e-4d3c-8b2a-1f0e9d8c7b6a",
      "title": "Sunrise Trail Run + Coffee",
      "short_description": "An easy-paced 5K on the Butler trail followed by coffee with the crew. All paces welcome.",
      "start": "2026-10-03T07:00:00-05:00",
      "end": "2026-10-03T08:30:00-05:00",
      "timezone": "America/Chicago",
      "venue": { "name": "Zilker Park", "address": "Austin, Texas, United States", "lat": 30.2669, "lng": -97.7729 },
      "is_online": false,
      "market": { "slug": "austin-tx", "name": "Austin", "region": "Texas" },
      "price": { "amount": 0, "currency": null, "is_free": true, "is_donation_based": false },
      "host": { "id": "6f1c2d3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f", "name": "Austin Sunrise Runners", "url": "https://sweatpals.com/host/austinsunriserunners" },
      "tags": ["Running"],
      "availability": "limited",
      "spots_remaining": 4,
      "image_url": "https://edge.sweatpals.com/api/files/2c9f0a1b-3d4e-4f5a-9b8c-7d6e5f4a3b2c?variant=l",
      "url": "https://sweatpals.com/event/sunrise-trail-run/2026-10-03/07-00?utm_source=agent&utm_medium=ai_agent&ref=agent"
    }
  ],
  "next_cursor": "eyJvIjoxMCwicSI6IjNmMmExYjRjIn0",
  "market": { "slug": "austin-tx", "name": "Austin", "region": "Texas" },
  "query": "sunrise trail run"
}

availability is one of available, limited (5 or fewer spots left), sold_out, waitlist (sold out, waitlist open) or unknown (could not be determined; never means sold out). spots_remaining is null when capacity is unlimited or unknown. price.amount is in major units (25.5 = $25.50): 0 when free, the minimum donation when donation-based, the lowest ticket tier otherwise, at its current price (an active time-based offer, e.g. early bird, applies).

GET /experiences/{id}

Everything in a search result plus description (full, may contain Markdown), refund_policy, skill_level (beginner | intermediate | advanced | null), booking_url (straight to checkout) and gallery_image_urls. id is the id of a search result; unknown or no-longer-public ids return 404.

curl 'https://ilove.sweatpals.com/api/public/v1/experiences/0b7e5c1a-2f3d-4e5f-8a9b-0c1d2e3f4a5b'

GET /markets

Cities where Sweatpals is active: slug (pass as market), name, region, country, lat, lng and the city's discovery page url (the generic /discover page when two markets share a city name).

curl 'https://ilove.sweatpals.com/api/public/v1/markets'
{
  "markets": [
    { "slug": "austin-tx", "name": "Austin", "region": "Texas", "country": "United States", "lat": 30.2672, "lng": -97.7431, "url": "https://sweatpals.com/discover?city=austin" }
  ]
}

GET /openapi.json

The OpenAPI 3.1 document for the endpoints above (Cache-Control: public, max-age=3600).

Errors

Every error has the same shape:

{ "error": { "code": "INVALID_PARAMETER", "message": "query must be longer than or equal to 1 characters" } }
HTTP code When
400 INVALID_PARAMETER Missing/invalid parameter, unknown market, tampered or mismatched cursor. The message says what to fix.
404 NOT_FOUND Unknown or non-public experience id, or an occurrence that has already ended (search again).
429 RATE_LIMITED Rate limit exceeded; retry after a minute.
500 INTERNAL_ERROR Unexpected failure; retry shortly.
503 SERVICE_UNAVAILABLE Temporarily unavailable (e.g. right after a deploy); retry shortly.

Rate limits

Per client IP, per minute: 600 for /experiences/search, 1200 for every other endpoint. Limits are currently observed rather than enforced; design for ~600 requests/min per IP. Once enforced, exceeding them returns 429 RATE_LIMITED.

Operations: to switch the whole surface off, set NX_FEATURE_PUBLIC_API=false in the backend service's runtime environment (the ECS task definition; process variables take precedence over the .env packaged in the image, which defaults it to true) and restart the tasks. Every endpoint then returns 404 NOT_FOUND.

Attribution

Every url and booking_url already carries utm_source=agent, utm_medium=ai_agent and ref=agent. Show or open the links as returned, without stripping query parameters, so bookings are credited to the agent channel.

Connector prompt (Meta AI / Muse and other assistants)

Paste this into the assistant's custom instructions, or use it as the description of an OpenAPI connector pointed at the spec URL above:

You can find fitness and wellness experiences (run clubs, yoga, pilates, strength, bootcamps, dance, sound baths, social workouts, retreats) using the Sweatpals Public API at https://ilove.sweatpals.com/api/public/v1 (spec: https://ilove.sweatpals.com/api/public/v1/openapi.json). No key is needed.
When the user wants something to do, join or attend, call GET /experiences/search with the activity and vibe in query, their city as market (or lat/lng if known), dates as date_from/date_to, and budget as price_max. Show the top 3-5 results with title, date and local time, venue, price and availability, and always include each result's url unchanged. For follow-up questions about one result, call GET /experiences/{id} and answer from its description, refund policy and skill level; when the user is ready to book, give them booking_url. You cannot book or pay on the user's behalf. Never invent experiences that the API did not return; if nothing matches, say so and suggest widening the dates, radius or budget.