Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Tavern Finder Geo API
description: Public API for discovering tabletop gaming events and venues, plus authenticated routes for RSVP'ing, creating events, and managing personal access tokens. AI agents are encouraged to use this directly or via the MCP server at https://mcp.tavernfinder.com/mcp.
version: 1.1.0
servers:
- url: https://tavernfinder.com/api/v1
description: Production
tags:
- name: Geo
paths:
/geo/me:
get:
summary: Best-effort IP geolocation
description: Public. Reads Cloudflare-injected request headers (cf-iplatitude, cf-iplongitude, cf-ipcity, cf-ipcountry) and returns them. Returns null fields when the request didn't traverse Cloudflare (e.g. direct LAN access in dev). No third-party calls.
responses:
'200':
description: Coords + location names, or nulls when unavailable
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
lat:
type:
- number
- 'null'
example: 38.7077
lng:
type:
- number
- 'null'
example: -9.1366
city:
type:
- string
- 'null'
example: Lisbon
country:
type:
- string
- 'null'
example: PT
tags:
- Geo
operationId: getGeoMe
x-operation-id-source: derived
components:
securitySchemes:
BearerAuth:
type: http
scheme: bearer
description: Either a short-lived JWT access token (issued by /auth/login) for interactive users, or an opaque personal access token of the form `tf_pat_<32 hex>` minted at https://tavernfinder.com/profile/tokens. Write endpoints check the PAT's scopes (`write:rsvp`, `write:create_event`, `write:profile`); JWT requests have all scopes implicitly.