Skip to main content

🔑 API Keys

API keys let you securely access your Fuyu data and automation features through the REST API.


🎯 What You Can Do

API keys can be used to:

  • Run scripts programmatically
  • Fetch job results
  • Manage datasets, proxies, and accounts
  • Use per-script endpoints

🔐 Creating an API Key

  1. Go to Developer Settings
  2. Click "New Key"
  3. Name your key and copy the token

You won't be able to view the key again after closing the dialog. Store it safely.


📥 Making Authenticated Requests

Use the x-api-key header to authenticate requests:

x-api-key: YOUR_API_KEY

Example with curl:

curl https://fuyu.gg/api/scripts   -H "x-api-key: api_abc123.xyz456"

🌐 Base URL

The public API is available at:

https://fuyu.gg/api/

Do not use https://api.fuyu.gg — it is for internal use only.


🛠 Best Practices

  • Keep your API keys private and secure
  • Do not expose keys in frontend code
  • Create separate keys for different integrations or teams
  • Revoke unused or compromised keys immediately