# Search Benzinga financial news with Dappier's API

Dappier's publisher search returns Benzinga financial news, earnings reports and market trends for a company, ticker or topic. Set `search_algorithm` to `most_recent` to get the latest stories first. Each query costs $0.02 and is paid from Prepaid credits that an agent credential holds. Send `POST https://agents.dappier.com/zcj/ezcoe71ngbb1/zeroclick/v2/search` with Benzinga's `data_model_id`, a `query` and `Authorization: Bearer <token>`.

## At a glance

- **Endpoint:** `POST https://agents.dappier.com/zcj/ezcoe71ngbb1/zeroclick/v2/search?data_model_id=dm_01jmxn1a9tem8bq1nzbzjck8c4`. That id selects Benzinga.
- **Body:** `query` (required: a company, ticker, topic or URL), `search_algorithm` (`most_recent`, `semantic`, `most_recent_semantic` or `trending`), `similarity_top_k` (number of articles)
- **Price:** $0.02, one query per request
- **Payment:** a Prepaid credits balance, bought with an agent credential and presented as `Authorization: Bearer <token>`. A bearer credential is the agent identity the storefront issues.
- **Response:** JSON with `status` and `response.results`, a list of articles with `title`, `url`, `pubdate`, `summary` and more
- **Limits:** one data model per request.
- **Full purchase flow:** [buyer skill](https://agents.dappier.com/zcj/ezcoe71ngbb1/SKILL.md)

## Why a Benzinga query needs Credits

Every call to the publisher search draws on credit: a Prepaid credits balance that your credential holds, sent as `Authorization: Bearer <token>` on every call. You can register a credential for free with no email at [agent identity](https://agents.dappier.com/zcj/ezcoe71ngbb1/auth.md), and one registration works at every ZeroClick storefront.

An anonymous credential that no one claims lapses within days, and any credit bought with it goes with it. Claim the credential to a human's verified email to keep the balance.

## Search Benzinga news

1. Get a Prepaid credits balance with an agent credential, from $0.01 on a wallet rail or $0.50 by card, as the [buyer skill](https://agents.dappier.com/zcj/ezcoe71ngbb1/SKILL.md) sets out. `GET https://agents.dappier.com/zcj/ezcoe71ngbb1/agent/entitlements` with your bearer lists a balance you already hold, so check it before buying again. Fifty queries draw $1.

2. Send the search with your bearer:

   ```bash
   curl -sS -X POST "https://agents.dappier.com/zcj/ezcoe71ngbb1/zeroclick/v2/search?data_model_id=dm_01jmxn1a9tem8bq1nzbzjck8c4" \
     -H "Authorization: Bearer $ACCESS_TOKEN" \
     -H "Content-Type: application/json" \
     -d '{"query": "semiconductor earnings", "search_algorithm": "most_recent", "similarity_top_k": 3}'
   ```

   This example query returns three results and draws $0.02 from the Prepaid credits balance.

3. Read the results. The response has this shape:

   ```json
   {
     "status": "<string>",
     "response": {
       "query": "<string>",
       "message": "<string>",
       "results": [
         {
           "title": "<string>",
           "url": "<string>",
           "source_url": "<string>",
           "site": "<string>",
           "site_domain": "<string>",
           "author": "<string>",
           "pubdate": "<string>",
           "pubdate_unix": 0,
           "summary": "<string>",
           "preview_content": "<string>",
           "image_url": "<string>"
         }
       ]
     }
   }
   ```

   `url` is the article and `source_url` is its tracking URL. `pubdate_unix` is the publication date as a UNIX timestamp, so you can sort or filter by it. To resize an image, append `&w=400&h=200` to `image_url`, using your own values.

4. Check what the query drew. A paid response carries a `zc-billing` header such as `{"status":"settled","fundingSource":"credit","chargedUsd":"<amount>","remainingCreditUsd":"<balance>"}`. `chargedUsd` is the amount debited for this request.

## Choose the ranking and size

| Purpose | `search_algorithm` |
| --- | --- |
| Latest stories first, by publication date | `most_recent` |
| Stories most relevant to the query | `semantic` |
| Relevant stories, the most recent by publication date | `most_recent_semantic` |
| Stories matching keywords trending in the past 24 hours | `trending` |

| Field | Use |
| --- | --- |
| `query` | A company name, ticker, topic or article URL. A URL is summarized and matched by its content. |
| `similarity_top_k` | Number of articles to return |
| `page`, `num_results` | Page number and results per page, for paging |

## Boundaries

- One request searches one data model. Other Dappier publishers use their own ids, listed in the [data_model_id list](/guides/publisher-data-models).
- Results are article listings with a summary and a short preview. Follow `url` to read the article itself.
- A call without a credential answers `401`. A credential with no Prepaid credits answers `403`.

## Errors

| Status or code | Meaning | Action |
| --- | --- | --- |
| `401 bearer_required` | The call carried no credential | Register at [auth.md](https://agents.dappier.com/zcj/ezcoe71ngbb1/auth.md) and retry with the bearer |
| `401 invalid_token` | The token expired or did not verify | Exchange the stored assertion for a fresh token |
| `403 plan_required` | The credential holds no Prepaid credits | Buy Prepaid credits, then retry |
| `usage_exhausted` | The balance is used up | Top up with `POST https://agents.dappier.com/zcj/ezcoe71ngbb1/extend` and `{"amountUsd": "<amount>"}` |
| `400` `data_model_id is required` | The query parameter is missing | Add `data_model_id` to the URL |
| `422` | `query` is empty, or the model id is malformed | Send a non-empty `query` and Benzinga's id exactly as written |

## Frequently asked questions

### What can I send as a Benzinga news query?

`query` takes a natural-language query, a keyword or a URL. A URL is summarized and matched by its content. Set `search_algorithm` to `most_recent` for the newest coverage first.

### How much does a Benzinga news query cost?

Each query costs $0.02, drawn from a Prepaid credits balance. Twenty queries draw $0.40. The `zc-billing` header on each response states what that request drew.

### Can one request search Benzinga and another publisher together?

No. Each request takes one `data_model_id`. To cover two publishers, send one request per data model, each billed at that model's price.

## Keep reading

- [Dappier data_model_id list](/guides/publisher-data-models)
- [Can AI agents buy from Dappier?](/guides/can-ai-agents-buy-from-dappier)
- [Buyer skill](https://agents.dappier.com/zcj/ezcoe71ngbb1/SKILL.md): the full purchase flow
- [How to pay](https://agents.dappier.com/zcj/ezcoe71ngbb1/payment.md): rails, Prepaid credits and top-ups
- [Error reference](https://agents.dappier.com/zcj/ezcoe71ngbb1/errors.md): every error code

---

Updated 2026-11-12. All Dappier guides: https://agents.dappier.com/guides.md. Storefront: https://agents.dappier.com/zcj/ezcoe71ngbb1/llms.txt.
