Seenos.ai

AI Search API Integration: Developer Guide for Custom Solutions

AI search API integration architecture and endpoints

AI search API integration enables programmatic access to content analysis, scoring, and recommendations through RESTful endpoints that support single-page analysis, batch processing, webhook events, and historical data retrieval. The API is designed for developers building custom dashboards, CI/CD integrations, or enterprise workflows. According to Postman's API research, 75% of enterprise integrations use custom API connections rather than off-the-shelf tools—making API access critical for organizations with unique requirements.

Key Takeaways

  • RESTful API with JSON responses
  • Single-page and batch analysis endpoints
  • Webhook support for real-time notifications
  • Rate limits: 100 requests/minute standard tier
  • Authentication via API keys

API Overview #

Core Endpoints #

EndpointMethodPurpose
/analyzePOSTAnalyze single URL
/batchPOSTAnalyze multiple URLs
/results/{id}GETRetrieve analysis results
/historyGETHistorical data for URL
/webhooksPOST/DELETEManage webhook subscriptions

Authentication #

API requests require an API key in the Authorization header:

  • Header format: Authorization: Bearer YOUR_API_KEY
  • Key management: Generate and rotate keys in dashboard
  • Scopes: Keys can be limited to specific endpoints
  • Security: Keys should be stored securely, never in client-side code

Single Page Analysis #

Request Format #

Submit a URL for analysis:

  • URL: The page to analyze (required)
  • Wait: Whether to wait for results (optional, default: false)
  • Callback: Webhook URL for results (optional)

Response Format #

  • Scores: Overall score and dimension breakdowns (0-100)
  • Recommendations: Prioritized list of improvements
  • Analysis: Detailed findings for each dimension
  • Metadata: Page title, word count, schema detected
API response structure diagram

Batch Processing #

When to Use Batch #

Batch processing is efficient for large-scale analysis:

  • Site audits: Analyze entire site (up to 10,000 URLs)
  • Content migration: Check content before/after migration
  • Scheduled audits: Weekly/monthly full-site scans
  • Competitive analysis: Analyze competitor content at scale

Batch Limits #

  • URLs per batch: Maximum 1,000 URLs
  • Processing time: ~1 second per URL average
  • Concurrent batches: 3 batches maximum
  • Result retention: 30 days

Webhook Integration #

Available Events #

  • analysis.complete: Analysis finished for URL
  • batch.complete: Batch job finished
  • score.changed: Significant score change detected
  • threshold.crossed: Score crossed configured threshold

Webhook Security #

  • Signature verification: Verify webhook signature header
  • HTTPS required: Webhooks only sent to HTTPS endpoints
  • Retry logic: Failed webhooks retried 3 times
  • Timeout: 5 second timeout for webhook responses

API Limitations #

API usage has constraints:

  • Rate limits: 100 requests/minute (standard), 1,000/minute (enterprise)
  • Page size: Pages over 5MB may timeout
  • JavaScript rendering: Limited JS execution for dynamic content
  • Authentication: Some paywalled content cannot be analyzed
  • Response time: Complex pages take 10-30 seconds

⚠️ Common API Mistakes

  • Not implementing exponential backoff for rate limits
  • Storing API keys in client-side code or repositories
  • Not verifying webhook signatures
  • Ignoring error responses and retry recommendations

Frequently Asked Questions #

What programming languages are supported? #

Any language that can make HTTP requests. We provide SDKs for JavaScript/Node.js, Python, Ruby, and Go. For other languages, use the REST API directly.

How do I handle rate limits? #

Implement exponential backoff when you receive 429 (Too Many Requests) responses. Start with 1 second delay, double on each retry up to 64 seconds. Check response headers for rate limit status.

Can I analyze pages behind authentication? #

Limited support. You can pass authentication headers for basic auth. For complex authentication (SSO, OAuth), consider using our browser extension or submitting raw HTML instead of URLs.

How long are results stored? #

Analysis results are stored for 30 days. Historical trend data is retained for 12 months. Enterprise plans offer extended retention options.

Conclusion #

API integration enables custom AI optimization solutions for unique requirements. Whether building internal dashboards, CI/CD checks, or enterprise workflows, the API provides programmatic access to all analysis capabilities.

Start with single-page analysis to understand the response format. Move to batch processing for large-scale needs. Implement webhooks for real-time notifications. The API gives you full control over how AI optimization fits into your systems.

Get API Access

Sign up for GEO-Lens to receive your API key. Full documentation available in developer portal.

Get API Key