api

Veracity

API Key Acquisition Guide

01

How to get a NewsAPI Key

Veracity requires NewsAPI to fetch live context. You must provide your own key.

  1. Visit newsapi.org/register.
  2. Create a free developer account.
  3. Copy your API key from the dashboard and paste it into Veracity's settings.
02

How to get a Groq Key (Fastest)

Groq's LPUs provide the lowest latency for RAG analysis. We highly recommend using Groq.

  1. Visit console.groq.com.
  2. Login with Google or GitHub.
  3. Click "Create API Key", name it "Veracity", and copy the key.
03

How to get a Google Gemini Key

Gemini provides excellent JSON adherence and long context windows.

  1. Visit Google AI Studio.
  2. Click "Create API Key" and generate one for a new project.
04

Custom API & Ollama Guide

For maximum privacy, Veracity supports any OpenAI-compatible API endpoint (OpenRouter, LM Studio, Ollama).

  1. OpenRouter / Cloud APIs: Just paste your endpoint (e.g., https://openrouter.ai/api/v1) and your key.
  2. Ollama (Localhost): If Veracity is deployed on the cloud (Vercel), it cannot reach your local machine's localhost:11434.
  3. The Ollama Fix: You must expose your Ollama port using a tunnel. Run ngrok http 11434 in your terminal.
  4. Copy the Ngrok Forwarding URL (e.g., https://xyz.ngrok.app/v1) and paste it as the Base URL in Veracity.
Engineered for Truth | Made by ~Arnish & Priyanshu