API Documentation

The Thyroxn API is a single REST endpoint. Authenticate with your API key from the dashboard.

Base URL

text
https://thyroxnsolver.com

Authentication

All requests require an API key passed via one of the following methods:

  • Header: X-API-Key: txn_your_key_here
  • Header: Authorization: Bearer txn_your_key_here
  • Body field: "api_key": "txn_your_key_here"

POST /api/solve

Solves an hCaptcha challenge and returns a valid token.

Request Body

FieldTypeRequiredDescription
sitekeystringYeshCaptcha sitekey from target site
urlstringYesPage URL where captcha appears
invisiblebooleanNoSet true for invisible hCaptcha (default: false)
rqdatastringNoExtra rqdata for enterprise hCaptcha
uastringNoUser-Agent string to use
proxystringNoProxy in format http://user:pass@host:port

Responses

StatusMeaning
200Success — { "token": "P0_eyJ..." }
401No API key / invalid key
402Insufficient balance
422Invalid input (missing sitekey/url)
500Solver error
502Solver returned empty token
504Solver timeout

Code Examples

Copy-paste these into your project. Replace YOUR_API_KEY with your key from the dashboard.

import requests

API_KEY = "YOUR_API_KEY"
BASE_URL = "https://thyroxnsolver.com"

def solve_hcaptcha(sitekey: str, url: str, invisible: bool = False, rqdata: str = "", proxy: str = None):
    """Solve an hCaptcha challenge and return the token."""
    payload = {
        "sitekey": sitekey,
        "url": url,
        "invisible": invisible,
    }
    if rqdata:
        payload["rqdata"] = rqdata
    if proxy:
        payload["proxy"] = proxy

    response = requests.post(
        f"{BASE_URL}/api/solve",
        json=payload,
        headers={"X-API-Key": API_KEY}
    )
    response.raise_for_status()
    data = response.json()
    return data["token"]


# ─── Usage ───
if __name__ == "__main__":
    token = solve_hcaptcha(
        sitekey="10000000-ffff-ffff-ffff-000000000001",
        url="https://example.com/login"
    )
    print(f"Solved! Token: {token[:50]}...")

Rate Limits

No per-account rate limit. Concurrency is bound only by your balance. Send as many parallel requests as you need.

Pricing

$4.00 per 1,000 successful solves ($0.004 each). Failed solves are never charged. Balance never expires.