mostlyharmless logo alpha NOW FEDERATED!
  • 移动视图
    • 介绍
    • 发现 ▼
      世界的 curated itineraries 旅行博客 Perspective Vortex
    • 登录
    • 注册
    当前流行: 旅遊景點 地标建筑 1. Fußball-Bundesliga 2025/2026 2. Fußball-Bundesliga 2025/2026 觀光塔 城堡 格架塔 宮殿 遺跡 法式城堡
    今天 明天 下个周末 一月 二月 三月 四月 五月 六月 七月 八月 九月 十月 十一月 十二月
      欧洲 亚洲 非洲 美洲 澳大利亚 Deutschland Bayern Yankee Stadium Madison Square Garden Rogers Centre T-Mobile Park

      Partner API — public catalog data

      Registered services can query places and events from mostlyharmless.travel as JSON for use in their own apps — server-side, with an API key, not in the browser.

      What is this?

      A versioned read API at /api/v1/partner. It returns reviewed, public articles (places, events, objects) including geo, licenses, and a change feed for synchronization.

      Access

      The API is not available anonymously. We issue API keys to registered partners. Tell us briefly what you plan to build — we will set up partner access for you.

      联系

      Quick start (technical)

      1. Obtain an API key (plaintext shown once; afterwards only the keyId is visible).
      2. Send every request over HTTPS from your own backend only.
      3. Set the Authorization header and call e.g. GET /api/v1/partner/articles.

      Header format:

      Authorization: Bearer mh_pk_<keyId>_<secret>

      Do not embed the key in websites or mobile apps. There is intentionally no CORS support for browser clients.

      Main endpoints

      Base path on this server:

      GET /api/v1/partner/articles
      GET /api/v1/partner/articles/{id}
      GET /api/v1/partner/geo/articles?bbox=west,south,east,north
      GET /api/v1/partner/changes

      Full specification (OpenAPI 3): openapi/partner-v1.yaml

      Data format (DTO)

      DTO means “Data Transfer Object”: a fixed JSON shape per article that only includes fields partners are allowed to see — no internal moderation, authors, or statistics. Example fields:

      • id, permalink, type (Place / Event / Object)
      • title, description (Klartext, Sprache per ?lang=)
      • geo, location, Event-Felder bei Bedarf
      • license, source — Herkunft und Nutzungsrecht pro Datensatz
      • updatedAt — für Sync; Feed unter /changes mit upsert und delete

      Limits & fair use

      Each partner has a request quota (configurable). Responses support ETag caching (304). Please process delete tombstones from /changes so removed content disappears on your side too.

      Self-service (planned)

      Register a normal account. After we enable you (partnerApi role + link) you manage API keys at /partner — create, revoke, and view usage for the last 30 days.

      Open partner portal (login required)

      • 首页
      • 关于我们
      • 隐私
      • 社区和服务器规则
      • 许可证
      • 联系
      • 合作伙伴 API
      🇩🇪 🇬🇧 🇫🇷 🇪🇸 🇮🇹 🇵🇹 🇳🇱 🇱🇹 🇺🇦 🇰🇷 🇯🇵 🇨🇳

      © 2025 mostlyharmless.com | 保留所有权利。

      登录

      或

      还没有账户? 注册!

      注册

      目前只能通过邀请码注册。请输入您的邀请码或使用您的个人邀请链接。
      或
      已经注册? 登录