Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.fieldfunded.com/llms.txt

Use this file to discover all available pages before exploring further.

Error format

All errors return a consistent JSON structure:
{
  "error": "Unauthorized",
  "message": "Invalid or missing API key",
  "status": 401
}

Status codes

CodeNameDescription
200OKRequest successful
400Bad RequestInvalid parameters
401UnauthorizedMissing or invalid API key
404Not FoundResource not found
429Too Many RequestsRate limit exceeded
500Internal Server ErrorServer-side error
503Service UnavailableTemporary maintenance

Handling errors

try {
  const response = await fetch('https://api.fieldfunded.com/v1/events', {
    headers: { 'X-API-Key': 'YOUR_API_KEY' }
  });
  
  if (!response.ok) {
    const error = await response.json();
    console.error(`Error ${error.status}: ${error.message}`);
    return;
  }
  
  const data = await response.json();
} catch (err) {
  console.error('Network error:', err);
}