# Get your API Key

# Important

To use the Geofencing API, you must have an API key. The API key is a unique identifier used to authenticate requests associated with your project for usage and billing purposes.

# Get your API Key

You must have at least one API key associated with your project.

To get an API key:

  1. Visit Geodir Account Dashboard (opens new window). If you don't have an account, please register (opens new window).
  2. The new API key appears on the page under API Keys. (Remember to restrict the API key before using it in production.)

# Add the API key to your request

You must include an API key with each Geofencing API request. In the following example, replace YOUR_KEY with your API key.

https://apis.geodir.co/geofencing/v1/json?latlon=-12.060421,-77.010781

# Authentication Troubleshooting

If your request is malformed or you provide an invalid signature, the Geofencing API returns an HTTP 403 (Forbidden) error.

To troubleshoot individual URLs, you can use the URL Signature Debugger (opens new window). It allows you to quickly validate a URL and a signature generated by your application.

Last updated: 09/18/2023, 10:30:49 PM