Skip to main content
This guide will help you get started with the Pure API v2 quickly. Follow these steps to make your first API request and start integrating with Pure’s precious metals marketplace.

Prerequisites

Before you begin, make sure you have:
  1. An API key from Pure — create one from your API Keys dashboard
  2. A tool for making HTTP requests (like cURL, Postman, or your preferred programming language)
Want to test the Execution API? Create a Sandbox API key from your dashboard and use https://sandbox.api.collectpure.com as the base URL. Sandbox data is provisioned automatically. See the Execution API guide for details.

Authentication

The Pure API v2 uses API key authentication. Include your key in the x-api-key header with each request:

Making Your First Request

Let’s verify your authentication is working by making a request to the API information endpoint:
If successful, you should receive a response like:

Code Examples

JavaScript/Node.js

Python

Error Handling

The API returns structured error responses. Here’s how to handle them:

Next Steps

Now that you’ve made your first API requests, you can:
  1. Explore the API Reference to learn about all available endpoints
  2. Check out the Authentication Guide for detailed auth information
  3. Try the Execution - Buy or Execution - Sell guides to programmatically trade precious metals (use a sandbox key to test)
  4. Integrate the API into your application
  5. Contact us at [email protected] if you have any questions or need assistance

API Endpoints

The v2 API provides comprehensive access to Pure’s marketplace data through our OpenAPI specification. All endpoints are documented in the interactive API reference above, including:
  • Products: Get products by IDs, search with full-text and filters, enriched product details, analytics, activity, order book data, and catalog metadata
  • Execution: Programmatically buy precious metals — get quotes, review pricing, and execute orders
  • Orders: List sale orders, purchase orders, or both with status filtering and pagination
  • Organization: Retrieve and update organization settings such as vacation mode and payout method
  • Reference Data: Categories, subcategories, manufacturers, attributes, and materials
  • Marketplace: Spot prices, marketplace stats, and shipping information
  • Authentication: Secure API key-based authentication
For the complete API specification, refer to the OpenAPI documentation in the API Reference tab.