Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.polynode.dev/llms.txt

Use this file to discover all available pages before exploring further.

GET /v3/polymarket/profiles/username-available
Use this endpoint before creating a challenge. It calls Polymarket’s username availability check and returns the upstream result.

Query parameters

ParameterTypeRequiredDescription
usernamestringYesDesired username. Local validation is ^[A-Za-z0-9_]{3,32}$. Polymarket is still the final authority.

Example

curl "https://api.polynode.dev/v3/polymarket/profiles/username-available?username=alice123" \
  -H "x-api-key: pn_live_..."
{
  "username": "alice123",
  "available": true,
  "source": "polymarket"
}
Unavailable usernames return 200 with available: false:
{
  "username": "alice_123",
  "available": false,
  "source": "polymarket"
}

Errors

StatusCodeMeaning
400invalid_usernameMissing username or invalid local format
401variesMissing or invalid PolyNode API key
402variesPaid plan required
429rate_limitedProfile-specific rate limit exceeded
502upstream_unavailablePolymarket availability check failed