Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

🔗 API & Endpoints


Parameter NameDefault ValueIntroduced in VersionLast Updated in Version
EndpointAddress127.0.0.1:000

Description:

Configures the address where the node listens for REST API calls. It may hold an IP:port pair or just a port. The value 127.0.0.1:0 and :0 will attempt to bind to port 8080 if possible; otherwise, it will bind to a random port. Any other address ending in :0 will bind directly to a random port.


Parameter NameDefault ValueIntroduced in VersionLast Updated in Version
EnablePrivateNetworkAccessHeaderfalse3535

Description:

Responds to Private Network Access preflight requests sent to the node. Useful when a public website is trying to access a node hosted on a Local Network.


Parameter NameDefault ValueIntroduced in VersionLast Updated in Version
RestReadTimeoutSeconds1544

Description:

Defines the maximum duration (in seconds) the node’s API server will wait to read the request body for an incoming HTTP request. The request will be aborted if the body is not fully received within this time frame.


Parameter NameDefault ValueIntroduced in VersionLast Updated in Version
RestWriteTimeoutSeconds12044

Description:

Defines the maximum duration (in seconds) the node’s API server allows writing the response body back to the client. The connection is closed if the response is not sent within this time frame.


Parameter NameDefault ValueIntroduced in VersionLast Updated in Version
BlockServiceCustomFallbackEndpointsEmpty string1616

Description:

The comma-delimited list of endpoints that the block service uses to redirect the HTTP requests if it does not have the round. The block service will return 404 (StatusNotFound) if empty.


Parameter NameDefault ValueIntroduced in VersionLast Updated in Version
RestConnectionsSoftLimit10242020

Description:

Defines the maximum number of active requests the API server can handle. When the number of HTTP connections to the REST API exceeds this soft limit, the server returns HTTP status code 429 (Too Many Requests).


Parameter NameDefault ValueIntroduced in VersionLast Updated in Version
RestConnectionsHardLimit20482020

Description:

Defines the maximum number of active connections the API server will accept before closing requests with no response.


Parameter NameDefault ValueIntroduced in VersionLast Updated in Version
MaxAPIResourcesPerAccount1000002121

Description:

Sets the maximum total number of resources (created assets, created apps, asset holdings, and application local state) allowed per account in AccountInformation REST API responses before returning a 400 (Bad Request). If set to 0, there is no limit.


Parameter NameDefault ValueIntroduced in VersionLast Updated in Version
MaxAPIBoxPerApplication1000002525

Description:

Defines the maximum number of boxes per application that will be returned in GetApplicationBoxes REST API responses.


Parameter NameDefault ValueIntroduced in VersionLast Updated in Version
EnableExperimentalAPIfalse2626

Description:

Enables experimental API endpoint.

These endpoints have no guarantees in terms of functionality or future support.


Parameter NameDefault ValueIntroduced in VersionLast Updated in Version
DisableAPIAuthfalse3030

Description:

Disables authentication for public (non-admin) API endpoints.