Skip to main content
DevTune provides a read-only REST API for integrating your AI search visibility data into CI/CD pipelines, BI tools, custom dashboards, and automated workflows.

What You Can Do

With the DevTune API you can:
  • Pull visibility metrics (share of voice, presence rate, brand mentions) into your reporting tools
  • Monitor competitive positioning trends programmatically
  • Feed citation data into your own analytics pipelines
  • Track adoption metrics (npm downloads, GitHub stars) alongside search visibility
  • Build custom alerting on top of DevTune data
  • Connect AI coding agents (Claude, Cursor) via the MCP server for in-IDE access

Requirements

  • A Plus plan or higher (API access is not available on the free tier)
  • An API key scoped to a specific project

Available Endpoints

EndpointDescription
Visibility SummaryShare of voice, presence rate, and brand mention metrics
Visibility HeatmapPlatform x topic metric grid for heatmap visualization
Citation StatsPaginated citation data with classification and position info
Competitive PositionCitation comparison between you, competitors, and others over time
Adoption Metricsnpm downloads and GitHub stars trends for your domains
ActionsPrioritized improvement recommendations
InsightsAI-generated insights by kind and severity
Traffic SummaryLLM bot and referral traffic analytics
Traffic PlatformsTraffic breakdown by AI platform
WebhooksReal-time event notifications
MCP ServerModel Context Protocol server for AI coding agents
OpenAPI SpecGET /api/v2/openapi.json — Machine-readable API specification
Tip: Full request/response documentation for each endpoint is available in the Endpoints section of the API Reference sidebar, auto-generated from the OpenAPI specification.

Getting Started

  1. Create an API key from your team settings
  2. Make your first request using the key in the Authorization header
  3. Explore the endpoints to find the data you need

Quick Example

curl -H "Authorization: Bearer dtk_live_your_key_here" \
  "https://devtune.ai/api/v2/projects/YOUR_PROJECT_ID/visibility/summary"
{
  "data": {
    "totalExecutions": 142,
    "shareOfVoice": 23.5,
    "citationPresence": 68.2,
    "brandAwareness": 45.1,
    "avgPrimaryPosition": 2.3,
    "primaryCitations": 97,
    "competitorCitations": 215
  },
  "meta": {
    "timestamp": "2026-02-08T12:00:00.000Z",
    "projectId": "your-project-id"
  }
}