SocialDancer
Open Map

Event Feed API

Pull upcoming dance events from SocialDancer onto your private project, dance club site, or public website. Included with Dancer ($1/mo) and Supporter.

Quick Start

Level up to Dancer ($1/mo) Agents & MCP

1. Fetch Events

GET https://socialdancer.org/api/feed/events

Use your personal Bearer token (under your profile name on socialdancer.org) with at least one filter (country, city, style, event_type, or bounding box). Returns upcoming events in a rolling window (default 60 days, max 90 days).

curl -H "Authorization: Bearer YOUR_TOKEN" \
  "https://socialdancer.org/api/feed/events?country=SE&days=60&lang=en&shape=soft&ref=mysite"
All query parameters & JSON example
  • country: e.g. SE · city: e.g. Stockholm · style: e.g. fox, salsa
  • event_type: SOCIAL, COURSE, FESTIVAL, COMPETE
  • min_lat, max_lat, min_lng, max_lng: optional bounding box
  • days: 1 to 90 (default 60)
  • lang (11 språk) · shape (pill, soft, square) · ref (optional site tag)
{
  "source": "SocialDancer",
  "window": { "from": "2026-12-05", "to": "2027-02-03", "days": 60 },
  "count": 1,
  "attribution": {
    "required": true,
    "cache_max_hours": 48,
    "lang": "en",
    "shape": "soft",
    "badge_light": "https://socialdancer.org/badges/from-socialdancer-en-light-soft.svg",
    "badge_dark": "https://socialdancer.org/badges/from-socialdancer-en-dark-soft.svg",
    "badge_tooltip": "Find out more about this event on SocialDancer",
    "script_url": "https://socialdancer.org/badges/badge.js"
  },
  "events": [
    {
      "id": 123,
      "title": "Fredagsfox i Norrköping",
      "event_type": "SOCIAL",
      "start_date": "2026-12-12T18:00:00Z",
      "end_date": "2026-12-12T22:00:00Z",
      "multi_day": false,
      "city": "Norrköping",
      "country": "Sweden",
      "country_code": "SE",
      "venue": "Folkets Park",
      "lat": 58.5877,
      "lng": 16.1924,
      "styles": ["Fox", "Bugg"],
      "socialdancer_url": "https://socialdancer.org/en/event/123/?ref=mysite",
      "updated_at": "2026-12-04T15:00:00Z"
    }
  ]
}

2. Customize Your SocialDancer Button

Pick language, theme, and corner shape. Served from our edge CDN cache with zero tracking.

Corners
Snippet theme
Find out more about this event on SocialDancer Light mode
Find out more about this event on SocialDancer Dark mode

HTML (recommended, zero JavaScript)

<a href="https://socialdancer.org/en/event/123/?ref=feed" title="Find out more about this event on SocialDancer" target="_blank" rel="noopener">
  <img src="https://socialdancer.org/badges/from-socialdancer-en-light-pill.svg" alt="Find out more about this event on SocialDancer" height="30" loading="lazy">
</a>
Alternative: lightweight Web Component (<script>)
<script src="https://socialdancer.org/badges/badge.js" defer></script>
<socialdancer-badge event-id="123" lang="en" theme="light" shape="pill" ref="mysite"></socialdancer-badge>

Rules at a Glance

Fine print: full terms, rate limits, emergency safeguards & GDPR

Rate limits: Designed for scheduled refreshes (such as nightly syncs or light updates). Exceeding limits returns HTTP 429 with standard Retry-After and RateLimit-Reset headers.

Changes, emergency safeguards & refund guarantee: We reserve the right to change Event Feed terms, rate limits, or access with at least one month's advance email notice to active endpoint users. If abuse reveals a major loophole that risks site stability or maintainability, we may apply immediate minimal protective changes right away and notify affected users as soon as possible. If we fail to give one month's advance notice (other than revocation for rule violations), we will refund up to your most recent monthly payment upon request (if nothing was paid, nothing is owed). Rule violations (such as stripping attribution, sharing keys, spam, or impersonation) may lead to immediate revocation without refund.

GDPR & logging: We log limited technical request metadata (account ID, query summary, timestamp, IP, and User-Agent) under legitimate interest to keep the service reliable, prevent abuse, and send required advance notices to API users. Read the full privacy notice and your GDPR rights under Legal & Privacy, or email support@socialdancer.org.