$avraapi->location() to resolve one permitted IP address. The Location
service has one released operation and returns an ApiResponse.
Use
$avraapi->location()->withPrivacyMode()->lookupIp('IP_ADDRESS') for
the shared one-request privacy control. It sends X-Privacy-Mode: 1 only
for that next request, then clears automatically. Privacy Mode keeps normal
routing, billing, and usage tracking while suppressing request and response
payload storage. The existing privacyMode: true argument remains supported.Look up an IP address
lookupIp(string $ip, bool $privacyMode = false): ApiResponse accepts IPv4 or
IPv6 text. The optional privacyMode: true argument remains available; for a
consistent fluent style, use withPrivacyMode() immediately before the call.
SDK function
Copy the SDK call
Resolve an IP address with the shared privacy control
Response
null when the selected provider has no matching
data. Privacy mode preserves normal routing, billing, and usage tracking while
suppressing request and response payload storage. It does not anonymise the
request. See the REST API guide for
the shared privacy guarantee.
Select a configured provider for one request
Every PHP provider service inheritswithProvider(string $providerCode): static. It sets an X-Provider-Override
header for the next request only, then the SDK clears the override. Use it only
with a provider that is configured for the selected project environment.
Optional provider selection
meta.provider_override reports the requested hint. It does not guarantee
that every returned field originated from that provider.
