Actions24
- Get Capital District Info
- Get Clan
- Get Clan Capital Info
- Get Clan Capital Raid Log
- Get Clan Members
- Get Clan Rankings
- Get Clan War Log
- Get Current War
- Get CWL Group
- Get CWL War
- Get League Info
- Get League Season Rankings
- Get League Seasons
- Get Location Info
- Get Location Rankings
- Get Locations
- Get Player
- Get Player Achievement Progress
- Get Player Battle Log
- Get Player Rankings
- Get Player Upcoming Chests
- Get War Leagues
- Search Clans
- Verify Player Token
Overview
This node integrates with the Clash of Clans API to perform various operations related to players, clans, wars, leagues, locations, and more. Specifically, the Verify Player Token operation allows you to verify a player's one-time API token, which is useful for confirming player identity or authorization in workflows that require secure validation.
Common scenarios where this node is beneficial include:
- Retrieving detailed player or clan information for analytics or reporting.
- Verifying player tokens to authenticate users before performing sensitive actions.
- Accessing battle logs, rankings, achievements, and other game data for automation or monitoring.
- Searching clans or fetching league and location data to build community tools or dashboards.
Practical example for Verify Player Token:
- You have a web app where players submit their verification tokens to prove ownership of their player account. This node can be used to validate those tokens automatically within an n8n workflow.
Properties
| Name | Meaning |
|---|---|
| Player Tag | The unique player tag starting with # identifying the player to operate on. |
| Verification Token | The one-time token string to verify for the specified player (input as a password type). |
Output
The node outputs JSON data containing the response from the Clash of Clans API for the requested operation. For the Verify Player Token operation, the output JSON includes:
operation: The name of the performed operation (verifyToken).url: The full API endpoint URL called.data: The API response data confirming whether the token is valid.timestamp: The ISO timestamp when the request was processed.metadata: Additional metadata including operation type classification and API version.
The output structure is wrapped inside an array of objects with a json property, suitable for further processing in n8n workflows.
This node does not output binary data.
Dependencies
- Requires an active Clash of Clans API key credential configured in n8n.
- Uses the official Clash of Clans API base URL:
https://api.clashofclans.com/v1. - The API key must have permissions to access player verification endpoints.
Troubleshooting
- Invalid Player Tag Format: Ensure the player tag starts with
#and is correctly encoded. Incorrect tags will cause API errors. - Invalid or Expired Verification Token: If the token is invalid or expired, the API will reject it. Confirm the token is current and correctly entered.
- API Authentication Errors: Verify that the API key credential is correctly set up and has necessary permissions.
- Rate Limits: The Clash of Clans API enforces rate limits; excessive requests may result in throttling errors.
- Network Issues: Connectivity problems can cause request failures; check network status and retry.
If the node throws an error mentioning unsupported operations, confirm that the selected operation matches the available options.