Skip to content
nsin docs

Get the edge proxy IP

GET
/proxy-ip/
curl --request GET \
--url https://api.nsin.ir/proxy-ip/ \
--header 'Authorization: Bearer <token>'

What to point DNS at for an externally-hosted zone. For managed domains NSIN sets this automatically when you mark a record proxied.

Prefer cname for subdomains when it is present: a CNAME follows any future change of our addresses, an A record does not. The apex has to use the A addresses in ips. Per-record values (which honour address pins) are on each record’s edge_target in the records listing.

Proxy IP.

Media type application/json
object
ip

The first edge address (legacy single value).

string
ips

Every edge address a proxied record publishes.

Array<string>
cname

Hostname to CNAME proxied subdomains at. Empty when not configured.

string
Example
{
"cname": "edge.nsin.ir"
}

Missing, malformed, revoked or expired API key. (A valid key whose account has been deactivated gets 403 account is inactive instead.)

Media type application/json

The single error shape used by every endpoint.

object
error
required

Human-readable description of what went wrong.

string
Examples
Example invalidKey
{
"error": "invalid API key"
}

The key exceeded its request budget (300 requests per minute by default).

Media type application/json

The single error shape used by every endpoint.

object
error
required

Human-readable description of what went wrong.

string
Examples
Example limited
{
"error": "rate limit exceeded"
}