GP
Anmelden

GamePilot · API

API für Entwickler

Squad-Builder, Coach und Meta-Snapshots als JSON-API. Pay-per-Call, kein Mindestumsatz.

Sicherer API-Key

Bearer-Token, einmalig angezeigt. SHA-256 in der DB.

Prepaid-Credits

1 Call = 1 Cent. Topup ab 5 €.

Live-Statistiken

Calls, Endpoints, Credit-Stand in Echtzeit.

Account erstellen & API-Key holen

Authentifizierung

Schick dein Key als Bearer-Token im Authorization-Header.

Authorization: Bearer gp_live_<32-hex>
Content-Type: application/json

Pricing

1 Call = 0,01 €. Credits via Stripe — keine Subscription.

  • 5

    500 Calls

  • 20

    2000 Calls

  • 50

    5000 Calls

  • 100

    10000 Calls

Endpoints

POST/api/external/squad

Generiert eine 11-Spieler-Squad mit voller Chemie auf Basis von Budget + Formation + Spielstil.

{ "budget": 500000, "formation": "4-3-3", "playstyle": "control" }
{ "players": [...], "totalCost": 487500, "chemistry": { "total": 33, "max": 33 } }
POST/api/external/coach

Coaching-Output (Markdown) für Anti-Tilt, Win-Rate-Analyse oder Gegner-Scouting.

{ "topic": "anti-tilt", "context": "Lost 3 in a row in Champions Quals" }
{ "content": "## Anti-Tilt Coach ...", "topic": "anti-tilt" }
GET/api/external/meta

Aktueller FUT-Meta-Snapshot — Promo, Top-Formationen, Trending-Archetypen, Markt-Outlook. (6h Cache)

(no body)
{ "promo": {...}, "topFormations": [...], "trendingArchetypes": [...], "marketOutlook": "..." }

Fehler-Codes

  • 401Token fehlt oder ungültig.
  • 402Credits erschöpft — Topup im Dashboard.
  • 403API-Key revoked.
  • 400Body validation failed (siehe error-Feld).

cURL-Beispiel

curl -X POST https://gamepilot.gg/api/external/squad \
  -H "Authorization: Bearer gp_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"budget":500000,"formation":"4-3-3","playstyle":"control"}'