This guide will help you get started with the Pure API quickly. Follow these steps to make your first API request and start integrating with Pure’s precious metals marketplace.
Let’s verify your authentication is working by making a request to the authentication test endpoint:
Copy
Ask AI
# Using API Keycurl -X GET "https://public.api.collectpure.com/v1/protected" \ -H "x-api-key: YOUR_API_KEY"# OR using OAuthcurl -X GET "https://public.api.collectpure.com/v1/protected" \ -H "x-auth-token: YOUR_ACCESS_TOKEN" \ -H "x-public-key: YOUR_PUBLIC_KEY" \ -H "x-secret-key: YOUR_SECRET_KEY"
If successful, you should receive a response like: