Get the edge proxy IP
GET
/proxy-ip/
const url = 'https://api.nsin.ir/proxy-ip/';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.nsin.ir/proxy-ip/ \ --header 'Authorization: Bearer <token>'The IP address to point DNS at for an externally-hosted zone. For managed domains NSIN sets this automatically when you mark a record proxied.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Proxy IP.
Media type application/json
object
ip
string
Example generated
{ "ip": "example"}Missing, malformed, revoked or expired API key — or the owning account is inactive.
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"}