Notice

Silhouettes & line art delayed.Capacity is tight right now. We add new firearms in regular batches every few weeks. Verifying data takes time. Thanks for your patience.

Templates & Scripts

Ready-made integrations to get you from API key to working prototype in minutes. Download, customize, ship.

5Templates
68Endpoints
100%Free

Build firearms integrations without the boilerplate

Every GunSpec asset is a working starting point for the firearms specification API: spreadsheet macros, command-line exporters, a typed SDK, and a ready-to-import Postman collection. Drop in your API key and you are pulling live data on makes, models, calibers, and ballistics in minutes.

Whether you are an analyst building a catalog in Excel, a game developer wiring real weapon stats into an engine, or an engineer shipping a comparison tool, these templates cover all 68 endpoints so you never have to hand-write request plumbing or pagination.

Spreadsheets

Excel VBA Module

VBA module (.bas) with macros that pull firearms data directly into Excel. List, search, detail view, and side-by-side comparison - import via Alt+F11.

Google Apps Script

Apps Script for Google Sheets with custom menu and cell functions. =GUNSPEC_LIST(), =GUNSPEC_SEARCH(), =GUNSPEC_FIREARM() - paste into Extensions > Apps Script.

Scripts & SDKs

Python Data Export

CLI script using requests + argparse. Export any endpoint to CSV or JSON. Filter by manufacturer, caliber, or category. Handles pagination automatically.

Node.js / TypeScript SDK

Typed fetch wrapper with full IntelliSense. Covers all 68 endpoints with built-in retry, rate-limit awareness, and async pagination helpers.

API Collections

Postman Collection

Import-ready collection with all 68 endpoints pre-configured. Includes environment variables for API key and base URL. Test scripts validate response schemas.

Compare

Which template fits your stack

Every option is free and reaches the same data. Pick by the tool you already work in.

TemplateFormatLanguageBest for
Excel VBA ModuleBASVBAAnalysts who live in Excel and want data in cells
Google Apps ScriptGSJavaScriptShared, always-on sheets with scheduled refresh
Python Data ExportPYPythonBulk CSV and JSON exports or data pipelines
Node.js / TypeScript SDKTSTypeScriptProduction apps that need a typed client
Postman CollectionJSONJSONExploring and testing endpoints before you build
How it works

From API key to working integration

Four steps, no build tooling required.

  1. 01

    Get your free API key

    Sign up and generate a key from your dashboard. The free tier covers the full firearms catalog.

  2. 02

    Pick a template

    Choose a spreadsheet macro, a script, the SDK, or the Postman collection based on the tool you use.

  3. 03

    Add your key

    Drop the key into a single constant. Local downloads auto-detect your development API URL.

  4. 04

    Customize and ship

    Filter, export, or extend the template to fit your project, then move it into production.

Use cases

What people build with these

Real workflows the templates were designed for.

FAQ

Frequently asked questions

Everything you need before you download.

Are the templates really free?

Yes. Every template and the SDK are free to download and use. You only need a GunSpec API key, and the free tier covers the full firearms catalog.

Do I need to know how to code?

Not for the spreadsheet templates. The Excel and Google Sheets options add menus and cell functions you use without writing code. The Python, Node, and Postman options assume basic developer familiarity.

How do I get an API key?

Create a free account and generate a key from your dashboard. Paste it into the template's API key constant and you are ready to pull live data.

What data can I access?

All 68 endpoints: firearms, manufacturers, calibers, categories, full-text search, comparisons, images, and game stats. The templates handle pagination automatically.

Can I use these commercially?

Yes. You can use the templates and the data they return in commercial products, subject to the API terms of service and your plan's rate limits.

Do they work with local development?

Yes. When you download from localhost the templates set the base URL to your local API automatically, so there is nothing to edit for local testing.

Need something custom?

Can't find what you're looking for? Check the full API docs or reach out - we're happy to help build integrations.