# Search1API News Search API

Search news articles by topic to prepare briefings, monitor media coverage and build a queue of source links for further research. Send a JSON query with the documented search source, language, time range and result count to retrieve titles, links and snippets, then open the original articles when your workflow needs full text or publication details beyond the returned fields.

Documentation: https://openany.si/search1api/search1api-news-search/
API ID: 26f11d2d-0680-41bb-8448-c333471f7557
Provider: search1api
Contract revision: 8
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/search1api/news
Page update time: 2026-12-04T06:27:46.409Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.001 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-04T06:27:46.409Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "1000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Search1API News Search API

Send query with optional search\_service, language, time\_range, max\_results and image settings. Results contain article titles, source links and snippets, alongside the search settings used for the request.

## What You Can Build with the Search1API News Search API

- **Prepare a news briefing**: Collect source-linked snippets before separate source verification.
- **Monitor media coverage**: Repeat a saved query with consistent source and time-range settings.
- **Build a research queue**: Shortlist article links by topic and preferred language.

Pass returned records to a downstream Agent for organization, comparison or reporting; additional data retrieval is a separate operation.

## Search1API News Search API Returned Data Fields & Response Coverage

News results provide source-linked snippets for discovery. Open each source link for full article context, and inspect the returned fields when you need publication times or images.

| Field | Meaning |
| --- | --- |
| `results[].title` | Article title |
| `results[].link` | Source article link |
| `results[].snippet` | Result snippet |
| `searchParameters` | Echoed search settings |

## Quick Start: Call the Search1API News Search API via REST

1. Configure OPENANY\_API\_KEY securely in your local environment and select Search1API.
2. The example searches English AI coverage from Bing over the past month, with up to five results.
3. Check Selected price before running the command; execution sends a real request under the current contract.

```
curl --request POST \
  "https://api.openany.si/v1/agent-apis/search1api/news" \
  --header "Authorization: Bearer ${OPENANY_API_KEY}" \
  --header 'Content-Type: application/json' \
  --data '{"language":"en-US","max_results":5,"query":"artificial intelligence","search_service":"bing","time_range":"month"}'
```

## Understanding Response Examples

| Example | Provenance and scope |
| --- | --- |
| Official example (illustrative; HTTP assumed) | Official illustrative example with assumed HTTP status; example.com is not a current news source. |

Use the documented request as a calling template; consult the [public API contract](https://openany.si/api/v1/agent-apis/26f11d2d-0680-41bb-8448-c333471f7557) and the actual response for fields and status.

## Connect AI Agents via OpenAny MCP

Connect to https://mcp.openany.si, discover with search\_apis, then read the current contract and api\_version with get\_api. Use run\_api only after approval of inputs, price and call count; keep the key in secure client configuration.

**Agent prompt:** Find up to five English AI news results from the past month using the current Search1API contract. Inspect the supported source and price, request execution approval, then return only actual titles, links and snippets; mark unavailable publication dates.

## Pricing & Billing Rules

- No subscription; check the selected implementation’s contract and Selected price for the current amount and unit.
- Browsing, preparing inputs and viewing examples do not execute the API; curl and run\_api do.
- Extra pages, retries and chained requests are separate executions; review their billing and spending limit first.

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Search1API News Search API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "type": "object",
      "properties": {
        "query": {
          "type": "string",
          "description": "Search query, for example: best open source vector database."
        },
        "search_service": {
          "type": "string",
          "description": "News source: google, bing, duckduckgo, yahoo, hackernews or reuters. Defaults to google."
        },
        "max_results": {
          "type": "integer",
          "description": "Number of results to return, 1 to 50. Defaults to 5."
        },
        "language": {
          "type": "string",
          "description": "Preferred result language code, for example en or zh."
        },
        "time_range": {
          "type": "string",
          "description": "Limit results to the past day, week, month or year."
        },
        "image": {
          "type": "boolean",
          "description": "Also return article images when true."
        }
      },
      "required": [
        "query"
      ]
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "link": {
            "type": "string"
          },
          "snippet": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        }
      }
    },
    "searchParameters": {
      "type": "object",
      "properties": {
        "language": {
          "type": "string"
        },
        "max_results": {
          "type": "integer"
        },
        "query": {
          "type": "string"
        },
        "search_service": {
          "type": "string"
        },
        "time_range": {
          "type": "string"
        }
      }
    }
  }
}
```

## Request example
Scenario: Official illustrative example (HTTP assumed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/search1api/news' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "language": "en-US",
  "max_results": 5,
  "query": "artificial intelligence",
  "search_service": "bing",
  "time_range": "month"
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Configured HTTP 200; actual status is unverified.
```json
{
  "results": [
    {
      "link": "https://example.com/ai-news",
      "snippet": "Scientists reveal groundbreaking advancement in AI technology...",
      "title": "Breaking: New AI Breakthrough Announced"
    }
  ],
  "searchParameters": {
    "language": "en-US",
    "max_results": 5,
    "query": "artificial intelligence",
    "search_service": "bing",
    "time_range": "month"
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Do I need a separate Search1API subscription?
No separate provider credential or subscription is part of this OpenAny request. Use your OpenAny key; the route bills per call.

### Which news sources are documented?
The current input description lists google, bing, duckduckgo, yahoo, hackernews and reuters. These are route options, not guarantees of exhaustive coverage.

### Can I restrict the time range or language?
Yes. time_range documents day, week, month and year, and language requests a preferred language. Verify source records when publication timing is essential.

### Are publication times and images always included?
Request images with image when needed, and check the returned item for publication time and image fields. Use the original source page when those details are essential.

### How do I read the full article?
Follow the result link to the original source. Snippets help you select articles for a briefing or research queue; reading or extracting source pages is a separate step.

### How many news results can I request?
Use max_results from 1 to 50; the documented default is 5. Treat the response as a search result set rather than a complete source feed.

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
