Athena News API Documentation
FeaturesPricingContact UsCreate AccountSign In
Athena API v2
Athena API v2
  • About Athena News API
  • v2 Change Summary
  • Account Overview
    • Account Overview
    • Dashboard
    • News Search
    • API Key
    • Account Settings
    • Manage Subscription
  • Getting Started
    • API Quickstart
    • Intro to Building a Query
    • API Reference
      • News Search
      • Headlines (BETA)
    • Data Model Reference
      • Articles
      • Entities
    • Supported Languages
    • Rate Limits
    • Troubleshooting
Powered by GitBook
On this page

v2 Change Summary

Announcing Version 2 of Our API: Enhanced Search Performance and New Features

Version 2 of our API introduces powerful enhancements to improve the handling of large search requests, along with exciting new features like trending headlines. Here’s a summary of the key updates:

  • Async Query Capabilities:

    • Added the /api/v2/query-async and /api/v2/get-results endpoints for asynchronous queries.

      • Submit a search request to /api/v2/query-async to receive a query_id.

      • Use the query_id and your API_key with /api/v2/get-results to check the status of your query and access results when they’re ready.

  • Search Logic

    • Search logical operators. Examples:

      • ("tesla" or "cybertruck") and not "elon musk"

      • ("amazon" and "aws")

      • ("donald trump" or "trump" or "president") and not "elon musk"

  • Improved Query Performance:

    • Async Query Results are cached in solid-state memory, enabling much faster pagination through large query results.

  • New Feature: Headlines (BETA):

    • Launched the /api/v2/headlines endpoint to retrieve trending news topics and related articles.

  • Enhanced Search Flexibility:

    • Improved /api/v2/query to better handle missing fields.

    • Introduced a filter to refine search results based on the traffic rank of news sites.

      • Example: Limit results to the top 5% of news sites by monthly traffic.

These updates are designed to streamline your workflows, improve efficiency, and help you unlock new insights from your searches.

PreviousAbout Athena News APINextAccount Overview

Last updated 4 months ago