# nodemaven-account-api

Adopt this skill: https://proskills.md/skills/other/nodemaven-skills-plugins-nodemaven-skills-nodemaven-account-api

Page: https://proskills.md/skills/other/nodemaven-skills-plugins-nodemaven-skills-nodemaven-account-api
This document is the public skill bundle for that page. It contains SKILL.md and every helper file the catalog carries. No login is required.

## File: plugins/nodemaven/skills/nodemaven-account-api/SKILL.md
size: 5436
sha: f988810ca58eea10f23f42d765879611bbe364af
upstream: https://github.com/nodemaven/skills/blob/main/plugins/nodemaven/skills/nodemaven-account-api/SKILL.md

````text
---
name: nodemaven-account-api
description: Call the NodeMaven dashboard REST API (v2) - traffic left, usage statistics, top domains, the location catalogue (countries, regions, cities, ISPs, zip codes), sub-users and whitelisted IPs. Covers authentication, paging, date format and the endpoints' quirks. Use when the user wants to read their NodeMaven account, automate sub-users or IP whitelisting, or look up valid location codes, from any language or curl.
license: MIT
---

# NodeMaven account API

Base URL: `https://dashboard.nodemaven.com/api/v2/base/`

Authentication is an API key from the dashboard profile, sent as

```
Authorization: x-api-key <KEY>
```

Not `Bearer`, not an `X-API-Key` header. Keep the key in an environment variable
(the SDKs read `NODEMAVEN_APIKEY`). In Python, Rust or Go use the SDK client
(`nodemaven-sdk` skill) instead of raw HTTP; it handles everything below.

**`users/me` and `sub-users/` return proxy passwords in clear text.** Never print,
log or paste a whole response body from this API. Extract the fields you need.

## Endpoints

| method and path | what it is |
|---|---|
| `GET users/me` | the account. `data` is the traffic left; `is_traffic_frozen` is a string, not a bool |
| `GET locations/countries/` | countries; filters `name`, `code`, `connection_type` |
| `GET locations/regions/?country__code=us` | regions of a country |
| `GET locations/cities/?country__code=us&region__code=...` | cities |
| `GET locations/isps/?country__code=us` | ISPs |
| `GET locations/zipcodes/?country__code=us` | zip codes |
| `GET locations/isps/regions/`, `isps/cities/`, `zipcodes/regions/`, `zipcodes/cities/` | where the ISP and zip catalogues have coverage |
| `GET statistics/data/?proxy_username=...` | traffic over time |
| `GET statistics/requests/?proxy_username=...` | requests over time |
| `GET statistics/domains/?proxy_username=...` | traffic per domain |
| `GET sub-users/` | sub-users |
| `POST sub-users/` | create: `proxy_username`, `proxy_password`, optional `is_traffic_limited`, `traffic_limit` |
| `PUT sub-users/` | update: `id` plus the fields to change (PUT to the collection, not to `sub-users/{id}`) |
| `DELETE sub-users/?id=...` | delete; the id is a query parameter |
| `POST sub-users/reset/usage` | `{"ids": [...]}`, a list even for one |
| `GET whitelist/ips` | whitelisted IPs (no trailing slash) |
| `POST whitelist/ip/upsert` | add or update: `ip`, `ports_count`, **`protocol`** (`HTTP` or `SOCKS5`), optional `name`, `country`, ... |
| `GET whitelist/ip/{id}`, `DELETE whitelist/ip/{id}` | one entry |

Location filters use the server's own spelling, `country__code` and
`region__code`. **An unknown query parameter is ignored**, so a misspelt filter
returns the unfiltered list with no error.

## Quirks that break generated clients

- **Statistics dates are `dd-mm-yyyy`**: `start=01-10-2026&end=07-10-2026`. ISO
  dates (`2026-10-01`) are answered 400 even though the published schema says
  `format: date`. Instead of dates, `period=today` or `period=hours24`. With no
  `start`, `end` or `period` at all, the statistics endpoints answer 500.
- **`protocol` is required on `whitelist/ip/upsert`** although the schema gives
  it a default. Without it the answer is 400 "Please enter a valid protocol".
  Success is `201` with `{ip_id, message}`; the listing calls the same id `id`.
- **Three paging styles.** Location endpoints: `limit` and `offset`, at most
  1000 rows a page (US cities need more than one page). `sub-users/`: `page` and
  `per_page`, from 1, an empty page past the end. `whitelist/ips`: `page` and
  `page_size`, from 1, **404 past the end**. Stop on an empty page, not on a
  short one.
- **Envelopes differ by endpoint**: rows are under `results` on the location
  endpoints and under `payload` on `sub-users/`, and `reset/usage` answers a
  `payload` list where others carry an object. No list endpoint returns a total
  count. Read the actual response shape before indexing into it.
- `POST sub-users/` answers 201; `DELETE sub-users/` answers 200 with a body.
- **An unregistered path answers `302` to `/not-found`.** An HTTP client that
  follows redirects turns a wrong path into a 200 HTML page. Disable redirects
  and treat a 3xx or a non-JSON body as an error. Following redirects would also
  send the API key to wherever the redirect points.
- Errors come as `{"error": {"code", "message", "retryable"}}`; a rejected key
  is 401 `invalid_api_key`.
- Deleting a whitelisted IP and adding the same IP again right away can be
  refused with "IP is already whitelisted" for a while after the delete.

## curl

```bash
curl -s --max-redirs 0 -H "Authorization: x-api-key $NODEMAVEN_APIKEY" \
  "https://dashboard.nodemaven.com/api/v2/base/statistics/data/?proxy_username=$NODEMAVEN_LOGIN&start=01-10-2026&end=07-10-2026"
```

```bash
curl -s --max-redirs 0 -X POST -H "Authorization: x-api-key $NODEMAVEN_APIKEY" \
  -H "Content-Type: application/json" \
  -d '{"ip": "203.0.113.7", "ports_count": 10, "protocol": "HTTP", "name": "office"}' \
  https://dashboard.nodemaven.com/api/v2/base/whitelist/ip/upsert
```

From an AI client, the `nodemaven-mcp` server exposes `account_status`,
`traffic_stats`, `top_domains`, `list_locations`, `list_sub_users` and
`list_whitelist_ips`, with passwords removed from every result. Its sub-user and
whitelist write tools work only when the server runs with
`NODEMAVEN_MCP_ALLOW_WRITE=1`.
````

## File: README.md
upstream: https://github.com/nodemaven/skills/blob/main/README.md

````text
# NodeMaven skills for Claude Code

[![2 GB free with code GITHUB](https://img.shields.io/badge/%F0%9F%8E%81%202%20GB%20free-code%20GITHUB-1153FC)](https://dashboard.nodemaven.com/accounts/signup/?utm_source=github&utm_medium=readme&utm_campaign=skills&utm_content=promo_badge)

A Claude Code plugin that teaches Claude to work with
[NodeMaven](https://nodemaven.com) residential proxies and the open-source tools
around them, plus the read-only NodeMaven MCP server and the SERP Maven search server.

## Install

In Claude Code 2.1.275 or later:

```
/plugin install nodemaven --marketplace nodemaven/skills
```

On earlier versions:

```
/plugin marketplace add nodemaven/skills
/plugin install nodemaven@nodemaven
```

The read-only MCP server for the account is a second plugin in the same marketplace:
`/plugin install nodemaven-mcp@nodemaven`. Claude Code asks for an optional NodeMaven API key
when it is enabled; it is used only by the MCP server and stored as a sensitive value.

Live Google search for the agent is a third plugin, `/plugin install serpmaven@nodemaven`. It
starts the [SERP Maven](https://github.com/nodemaven/serpmaven) MCP server and uses the proxy
login saved once with `uvx serpmaven login`; `uvx serpmaven install` downloads its browser.
Both need [uv](https://docs.astral.sh/uv/).

All three plugins work in Cursor too (`.cursor-plugin/`); there the NodeMaven MCP server reads
the API key from `NODEMAVEN_APIKEY` in the environment Cursor starts in.

> [!TIP]
> 🎁 **2 GB of free traffic.** No account yet? [Sign up](https://dashboard.nodemaven.com/accounts/signup/?utm_source=github&utm_medium=readme&utm_campaign=skills&utm_content=signup_promo) and enter the code **GITHUB**. Once per account.

## Skills

| skill | Claude uses it to |
|---|---|
| `nodemaven-proxy` | connect code to the gateway: username format, geo-targeting, sticky sessions, rotation, setup for requests, httpx, aiohttp, curl, Node, Playwright, Puppeteer, Selenium, Scrapy |
| `nodemaven-sdk` | write code with the Python, Rust and Go SDKs: validated proxy URLs, session pools, `check()`, the API client |
| `nodemaven-account-api` | call the dashboard REST API: traffic, statistics, locations, sub-users, IP whitelist, and the quirks generated clients get wrong |
| `serpmaven` | scrape Google results to JSON with a real browser (SERP Maven): CLI, Python, local HTTP API, MCP server, Docker |
| `proxy-benchmark` | measure and compare proxy providers and scraping browsers with the open-source harness |
| `proxy-troubleshooting` | diagnose 407, 406, 410 and 500 answers, hangs, Playwright and Chrome proxy auth, sticky sessions that move, traffic from idle Chrome |

Skills load on their own when a request matches. They can also be called by
name, e.g. `/nodemaven:nodemaven-proxy`.

## MCP server

The NodeMaven MCP server is a separate plugin in this marketplace, `nodemaven-mcp`, so this
one is skills only. It starts [`nodemaven-mcp`](https://github.com/nodemaven/nodemaven-mcp)
0.2.3 with `uvx nodemaven-mcp==0.2.3`, so [uv](https://docs.astral.sh/uv/) has to be
installed, and asks for the dashboard API key when it is enabled. Its read tools are
`proxy_url`, `check_proxy`, `test_proxy_on_site`, `list_locations`, `account_status`,
`traffic_stats`, `top_domains`, `list_sub_users` and `list_whitelist_ips`. Its tools that
change sub-users and whitelisted IPs stay off: the plugin does not set
`NODEMAVEN_MCP_ALLOW_WRITE`. Proxy passwords are kept out of tool results.

## Evals

Each skill has two cases under `plugins/nodemaven/evals/`. From
`plugins/nodemaven`:

```bash
claude plugin eval .
claude plugin eval . --case proxy-sid-with-dash --runs 1
```

Results go to `evals/results/`, which is not committed.

## Related

- [nodemaven-python](https://github.com/nodemaven/nodemaven-python),
  [nodemaven-rust](https://github.com/nodemaven/nodemaven-rust),
  [nodemaven-go](https://github.com/nodemaven/nodemaven-go)
- [nodemaven-mcp](https://github.com/nodemaven/nodemaven-mcp)
- [SERP Maven](https://github.com/nodemaven/serpmaven)
- [proxy-benchmark](https://github.com/nodemaven/proxy-benchmark)

## License

MIT
````
