({{, (RefLink[$RequesterAddress, paclet:ref/$RequesterAddress]) 
gives the IP address originating an HTTP request that initiated the current evaluation.}})

OpenersNotesSection(Spacer1)Details

If the current evaluation was not initiated by an HTTP request, (RefLink[$RequesterAddress, paclet:ref/$RequesterAddress]) is (RefLink[None, paclet:ref/None]).

(RefLink[$RequesterAddress, paclet:ref/$RequesterAddress]) is set not only for direct web calls, such as those through an API, but also for interactive sessions that occur in the Wolfram Cloud Platform.

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Deploy an API function that returns the requester address:

obj=CloudDeploy[APIFunction[{},$RequesterAddress&]]

Get the address that originated this request:

Import[First[obj]]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[$MachineAddresses, paclet:ref/$MachineAddresses])  ▪  (RefLink[FindGeoLocation, paclet:ref/FindGeoLocation])  ▪  (RefLink[$UserAgentString, paclet:ref/$UserAgentString])  ▪  (RefLink[EvaluationData, paclet:ref/EvaluationData])  ▪  (RefLink[CloudLoggingData, paclet:ref/CloudLoggingData])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Cloud Execution Metadata, paclet:guide/CloudExecutionMetadata])}, {▪(RefLinkPlain[Cloud Functions & Deployment, paclet:guide/CloudFunctionsAndDeployment])}, {▪(RefLinkPlain[Creating Form Interfaces & Apps, paclet:guide/CreatingFormsAndApps])}, {▪(RefLinkPlain[Creating Instant APIs, paclet:guide/CreatingAnInstantAPI])}})}})