Warning: include(C:\xampp\htdocs\fdcom\includes\app\views/layout-header.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\fdcom\includes\app\views\api-docs.php on line 28

Warning: include(): Failed opening 'C:\xampp\htdocs\fdcom\includes\app\views/layout-header.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\fdcom\includes\app\views\api-docs.php on line 28
UNDER CONSTRUCTION

API Coming Soon

We're building something amazing for developers

API Not Yet Available

Our API is currently in active development and not available for use. The documentation below is a preview of what's coming.

Expected Launch: Q2 2025 • Status: In Development

Preview Documentation: The information below shows what our API will offer when it launches. Current timeline: Q2 2025

PREVIEW

FirearmDistributors.com API

Professional-grade pricing data for developers

What It Will Do:

  • • Real-time pricing from 20+ distributors
  • • Instant inventory status updates
  • • RESTful endpoints with JSON responses
  • • Webhook notifications for price changes

Perfect For:

  • • FFL dealer websites
  • • Inventory management systems
  • • Mobile applications
  • • Business intelligence tools
COMING

Real-Time Data

Live pricing updates across all major distributors with sub-second response times

COMING

Enterprise Security

Bank-level security with OAuth 2.0, rate limiting, and comprehensive audit logs

COMING

Developer Friendly

RESTful design with comprehensive docs, SDKs, and 24/7 developer support

How It Will Work

Your App

Send API request

Our API

Process & aggregate

Live Data

Return real prices

Getting Started

Authentication

All API requests require authentication using your API key. Include your key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Base URL

All API requests should be made to our secure endpoint:

https://api.firearmdistributors.com/v1/

API Key Requirements

  • Valid FFL license required
  • Active FirearmDistributors.com subscription
  • Completed developer agreement
  • Rate limiting applies based on subscription tier

API Endpoints

GET

/products

Search and retrieve product information with pricing from multiple distributors.

Parameters:

Parameter Type Description
search string Search term (UPC, model, manufacturer)
category string Product category filter
distributor string Specific distributor filter
limit integer Number of results (max 100)

Example Request:

curl -H "Authorization: Bearer YOUR_API_KEY" \
     "https://api.firearmdistributors.com/v1/products?search=glock&limit=10"
GET

/pricing/{product_id}

Get current pricing from all distributors for a specific product.

Response Example:

{
  "product_id": "12345",
  "upc": "123456789012",
  "manufacturer": "Glock",
  "model": "G19 Gen5",
  "pricing": [
    {
      "distributor": "RSR Group",
      "price": 425.50,
      "availability": "in_stock",
      "quantity_available": 15,
      "last_updated": "2025-01-15T10:30:00Z"
    },
    {
      "distributor": "Sports South",
      "price": 428.75,
      "availability": "in_stock",
      "quantity_available": 8,
      "last_updated": "2025-01-15T10:28:00Z"
    }
  ]
}
GET

/distributors

Get a list of all available distributors and their status.

GET

/categories

Retrieve available product categories for filtering.

Planned API Pricing

Pricing shown below is preliminary and subject to change before launch

PREVIEW

Basic Plan

$49/mo
  • 1,000 requests/hour
  • Basic support
  • Standard documentation
PREVIEW
Planned Popular

Professional Plan

$99/mo
  • 5,000 requests/hour
  • Priority support
  • Advanced features
  • Bulk export
PREVIEW

Enterprise Plan

Custom
  • Unlimited requests
  • Dedicated support
  • Custom integration
  • SLA guarantee

Expected Launch: Q2 2025 • Pricing subject to change

Example Code Snippets

Preview of how easy our API will be to integrate

Sample Code - API Not Yet Active

Node.js / JavaScript Example

// Easy integration with your existing Node.js app
const FirearmAPI = require('@firearmdistributors/api');

const client = new FirearmAPI({
  apiKey: process.env.FIREARM_API_KEY
});

// Search for products across all distributors
const searchGlocks = async () => {
  try {
    const results = await client.products.search({
      query: 'Glock 19',
      distributors: ['rsr', 'sports-south', 'lipseys'],
      inStock: true
    });
    
    console.log(`Found ${results.total} products`);
    results.products.forEach(product => {
      console.log(`${product.name}: $${product.price}`);
    });
  } catch (error) {
    console.error('API Error:', error);
  }
};

searchGlocks();

Lightning Fast Responses

Average API response time under 200ms. Cached data with real-time updates ensure your customers always see current pricing.

Bank-Level Security

OAuth 2.0 authentication, encrypted data transmission, and comprehensive audit logging for all API interactions.

Error Codes

Status Code Error Description
400 Bad Request Invalid request parameters
401 Unauthorized Invalid or missing API key
403 Forbidden Access denied or subscription required
404 Not Found Resource not found
429 Rate Limited Too many requests, rate limit exceeded
500 Server Error Internal server error
GET NOTIFIED

Be First to Know When API Launches

Join our developer waitlist for exclusive early access and launch updates

Join the Waitlist

What you'll get:

  • • Launch announcement (Q2 2025)
  • • Early access opportunity
  • • Beta testing invitation
  • • Special launch pricing

Your email will only be used for API launch updates. No spam, unsubscribe anytime.


Warning: include(C:\xampp\htdocs\fdcom\includes\app\views/layout-footer.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\fdcom\includes\app\views\api-docs.php on line 765

Warning: include(): Failed opening 'C:\xampp\htdocs\fdcom\includes\app\views/layout-footer.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\fdcom\includes\app\views\api-docs.php on line 765