M1 Hub
Back to user guides

M1 RetroScore API User Guide

Getting started with RetroScore API

1. Generating an API token

You can generate an API token on the RetroScore Settings Page.

You may paste a token value into the field below or its equivalent in the sidebar to use it across the documentation examples.

2. Usage with curl

curl http://localhost:2222/api/v2/batch-search -X POST \
  -H "Authorization: ApiToken-v1 YOUR_API_TOKEN"  \
  -H "Content-Type: application/json" \
  -d '{"targets": ["COC"]}'

Replace YOUR_API_TOKEN with the API token generated in step 1.