nodemaven_build_proxy_url
Generate a ready-to-use NodeMaven proxy URL with geo-targeted username for curl, Playwright, or Scrapy. Encodes country, session, and IP filters into the connection string.
Instructions
Build a NodeMaven proxy URL with geo targeting encoded in the username.
Use this to hand a ready connection string to another tool - curl, Playwright, Scrapy, requests - instead of guessing NodeMaven's username syntax. No network call is made. To verify the IP actually works, use nodemaven_check_proxy.
Returns: str: Markdown or JSON with the schema: { "proxy_url": str, # e.g. "http://user-country-us-sid-ab12:***@gate.nodemaven.com:8080" "username": str, # targeting username "host": str, "port": int, "protocol": str, "password_masked": bool } On failure: "Error: "
Examples: - "give me a US proxy string for curl" -> country='us', reveal_credentials=true - "same IP for the whole login flow" -> session_id='ab12cd' - Don't use when: you want the page content (use nodemaven_fetch instead)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isp | No | ISP or mobile carrier to pin, e.g. 't-mobile usa'. | |
| city | No | City to narrow the pool, e.g. 'los angeles'. | |
| port | No | Override the proxy port. Defaults to the port set for the protocol. | |
| region | No | State or region to narrow the pool, e.g. 'california'. | |
| country | Yes | Two-letter ISO country code for the exit IP, e.g. 'us', 'de', 'br'. | |
| protocol | No | Proxy protocol: 'http' or 'socks5'. | http |
| ipv4_only | No | Restrict the exit IP to IPv4. | |
| session_id | No | 4-10 alphanumeric characters. Reuse the same value to keep the same exit IP across calls (sticky session); omit it to rotate on every request. | |
| response_format | No | 'markdown' for a compact summary, 'json' for the full payload. | markdown |
| ip_quality_filter | No | NodeMaven IP quality tier, e.g. 'medium' or 'high'. | |
| reveal_credentials | No | Include the real proxy password in the returned URL. Keep false unless the URL goes straight to a command that must authenticate; the password otherwise stays masked so it does not leak into transcripts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |