Deep
The HTTP quick start is enough for supported automatic flows. Use this section when you need SDK types, custom transport settings or control over each generated request.
Choose an integration
| Task | Interface |
|---|---|
| Get cookies or protection data | Local POST /solve |
| Call the same local API through a typed client | Solver in Python/TypeScript, solver in Go |
| Fetch scripts and send each generated request yourself | Product APIs in the SDK |
| Generate Amazon FWCIM or classify images | Direct SDK or generation API; not part of /solve |
| Build a generation client without an SDK | Generation HTTP API |
The local server owns target requests in /solve. With the manual SDK APIs, your application owns them. Do not mix their session formats.
SDK clients
Install only the client for your language:
pip install git+https://github.com/nullgate-club/nullgate-sdk-py@mainnpm install github:nullgate-club/nullgate-sdk-ts#mainGOPROXY=direct go get github.com/nullgate-club/nullgate-sdk-go/v2@mainThe local API must already be running. These clients need no API key: Python uses nullgate.solver.Solver, async Python uses nullgate.solver.aio.Solver, TypeScript exports Solver, and Go provides the solver package.
Complete examples: Python, TypeScript, Go.
Direct generation uses Nullgate in Python/TypeScript and the product clients in Go. It connects to https://api.nullgate.club, requires your API key and does not require the local server.
Manual product flows
| Product | What you control |
|---|---|
| Akamai | Sensor, Pixel and SBSD requests, inputs, actions and send times |
| Amazon ACIC | PoW/WAF rounds, verification, vouchers and continuation |
| Amazon FWCIM | Form observations and metadata1 generation |
| ThreatMetrix | Target HTTP callbacks, profile lifetime and pagehide |
| PingOne Protect | SDK configuration, tokens, signed inputs and device identity |
| Classifier | Images, labels, queries and scores |
Keep one browser identity and cookie jar per visit. Follow each product's timing and lifecycle rules. Sessions explains checkpoints, continuation and expiry for direct generation.
Transport
For /solve, transport.emulation selects a wreq browser profile. Without it, the server selects a profile from user_agent. Explicit settings are optional:
{
"transport": {
"emulation": "Chrome154",
"headers_order": ["user-agent", "accept", "accept-language"],
"tls_options": {"min_tls_version": "TLS_1_2"},
"http2_options": {
"initial_window_size": 1048576,
"headers_pseudo_order": ["METHOD", "AUTHORITY", "SCHEME", "PATH"]
}
}
}Add this object to your solve request. headers_order controls ordinary headers, not HTTP/2 pseudo headers. Unknown settings return an error.
tls_options and http2_options replace their corresponding preset configuration rather than merging individual fields. Omit them to keep the full browser preset. For an exact custom fingerprint, supply complete settings.
A JA4 hash cannot reconstruct a TLS ClientHello. Configure the browser profile, TLS, HTTP/2 and header order instead. Native settings are documented in wreq.
Diagnosing a failure
Local HTTP API errors include stage, which distinguishes validation, target transport and generation failures. Keep the request_id and avoid logging cookies, tokens or proxy credentials.
Direct generation error codes and HTTP limits are in Errors and the generation reference. A completed generation can be charged even if a later target request fails. Inspect the failed stage before deciding whether to solve again.