# Get trending topics from various platforms

Get Web trending topics from various platforms data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by OpenAny, pass parameters such as max_results, search_service, and retrieve structured data including title, description, returned URL, returned max results field, and returned search service field to search interfaces and source review, and integration reference.

Documentation: https://openany.si/web/web-get-trending-topics-from-various-platforms/afc52db8-2233-4a82-8bb7-38b8c903760d/
API ID: afc52db8-2233-4a82-8bb7-38b8c903760d
Provider: openany
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/openany/trending
Page update time: 2026-12-03T02:53:41.931Z
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-03T02:53:40.407Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "1000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Web Get trending topics from various platforms API

List what is currently popular on a supported platform, such as GitHub repositories or Hacker News stories, when the user asks what is trending or new right now. Provide search\_service in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Search interfaces and source review**: Keep returned sources and query context together.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `results[].title` | Title |
| `results[].description` | Description |
| `results[].url` | Returned URL |
| `trendingParameters.max_results` | Returned max results field |
| `trendingParameters.search_service` | Returned search service field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Get trending topics from various platforms 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": {
        "search_service": {
          "type": "string",
          "description": "",
          "minLength": 1
        },
        "max_results": {
          "type": "integer",
          "description": "",
          "minimum": 1
        }
      },
      "required": [
        "search_service"
      ]
    }
  },
  "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": {
          "description": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "trendingParameters": {
      "type": "object",
      "properties": {
        "max_results": {
          "type": "integer"
        },
        "search_service": {
          "type": "string"
        }
      }
    }
  }
}
```

## Request example
Scenario: Schema template (HTTP assumed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/openany/trending' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "max_results": 10,
  "search_service": "github"
}'
```

## Response example
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Response template · not a real response · Configured HTTP 200; actual status is unverified.
```json
{
  "results": [
    {
      "description": "<description>",
      "title": "<title>",
      "url": "<url>"
    }
  ],
  "trendingParameters": {
    "max_results": 1,
    "search_service": "<search_service>"
  }
}
```

## 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
### Which inputs identify this request?
Provide search_service in body (string). Keep identifiers and URLs in the formats documented for this implementation.

### What type does max_results use?
max_results uses the JSON type integer in body. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.

### Which request format should I follow?
Use POST on the documented OpenAny route with the selected implementation request content type. Do not change the method or move inputs to a different location.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- openany: https://openany.si/web/web-get-trending-topics-from-various-platforms/afc52db8-2233-4a82-8bb7-38b8c903760d/
- search1api: https://openany.si/web/web-get-trending-topics-from-various-platforms/e9c33335-d241-424d-be1f-ad963cd094a2/

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