logo
Log in
IPAPI
Quickstart Guide
Getting Started
Options
Code Examples

Code Examples


PHP (CURL)

Standard Lookup via PHP

Find below a PHP (CURL) example making use of the Standard Lookup endpoint:

JavaScript (jQuery.ajax)

Standard Lookup via JavaScript (jQuery.ajax)

Find below a JS example making use of the Standard Lookup endpoint:


 

 

← Options
API Endpoints →
Questions? Contact Sales .
Need help? Contact Support .
© 2026 APILayer. All rights reserved.

On this page

  1. PHP (CURL)

  2. JavaScript (jQuery.ajax)