Skip to content

AI coding assistants

Give your coding agent the official contract so it can implement an integration without inventing endpoints or fields.

Machine-readable sources

Supported environments

  • Cursor
  • Claude Code
  • GitHub Copilot
  • Windsurf
  • Other agents that can fetch HTTPS documentation and OpenAPI

Point the agent at /llms.txt and the OpenAPI URL, then paste the prompt below.

Copy-ready integration prompt

text
You are integrating the PadelRank API into this application.

Follow these rules strictly:

1. Read https://developers.padelrank.me/llms.txt and https://developers.padelrank.me/docs/ai
2. Fetch and follow the OpenAPI contract at https://api.padelrank.me/openapi.json
3. Use only documented endpoints, fields, scopes, and error codes
4. Authenticate with Authorization: Bearer $PADELRANK_API_KEY (or X-API-Key). Never hardcode keys. Never expose keys in frontend JavaScript, mobile apps, git, or logs.
5. Base URL: https://api.padelrank.me — paths are under /v1
6. Test keys (pr_test_…) are read-only on the same host and data. Live keys (pr_live_…) are required for writes and need an active or trialing subscription.
7. Handle HTTP errors using the JSON shape { error, message, request_id }. Respect Retry-After on 429. Do not retry every failure.
8. For match submits, send external_ref (or Idempotency-Key) so retries are safe.
9. Never invent endpoints, properties, webhooks, SDKs, sandbox hosts, or ranking formulas.
10. Never attempt to reproduce proprietary ranking logic. Use padelrank_score, confidence_level, confidence_label, and matches_played as returned.
11. Add tests that assert against the documented schemas.
12. Explain what you implemented and which docs/OpenAPI sections you used.

If something is not in the OpenAPI document or the official docs, treat it as unsupported.

Rules the agent must follow

  • Never invent endpoints, properties, webhooks, SDKs, or sandbox hosts
  • Never hardcode or expose API keys
  • Never reproduce proprietary ranking formulas or internal rating state
  • Implement error handling from the documented envelope only
  • Add tests against documented schemas
AI coding assistants · PadelRank Developers