FFL API Documentation

Overview

This guide will take you through the minimum required steps to begin making API requests. By the end of this guide, you’ll be able to retrieve the closest gun dealer(s) list with all the required information. Before we begin, here are a few key concepts:

  • API requests require a token to get data, and API tokens are issued on a per-site basis. You may register for a free trial which will automatically expire after 14 days.
  • API Credentials can be generated from user control panel. If you are testing requests  for a single site, start here to quickly get your token and begin making API calls.

Prerequisites

About Our API

Want to make API Requests right away? Check out the Authentication.

FFL API allows you to get the closest and active gun dealers’ list by the given zip code and radius information for license details and store address.

Authentication

You need to get API credentials that are available to developers wishing to make requests against FFL API:

API Credentials (created in a user control panel)

FFL API Credentials are generated when a FFL API Developer Account is created in user control panel (API Keys > Generate Key). These credentials are used to programmatically interact with an api.

Accessibility

Our team frequently enhances its core product and is actively developing  API endpoints. By using the newest API version, you will ensure that your app has access to the latest resources.

Code Examples

Integrations

 

Error Codes

Status Code Reason
400
The request could not be understood by the server due to malformed syntax.
422
The server understands the content type of the request entity and the syntax of the request entity is correct but was unable to process the contained instructions.
500
The usage limit for your application has been exceeded for the hour time period.