# AI News API

WOC Street Pro Subscription allows API access, which professional traders use to gain the market edge and reduce market risk.

API Endpoint: `API URL`

Supported HTTP methods: `POST`

Request and response content type: `JSON`Token

`Token`= API Key

`limit`= 100(optional)

`symbol`=AAPL (optional)

`eventName`=layoff (optional)

Sample Response

```json
// 
  "code": 0,
  "message": "ok",
  "data": [
    {
      "symbol": "TSLA",
      "publishedAt": "2024-03-30T17:06:48.000Z",
      "title": "Tesla is so desperate for sales it's started advertising, something Elon Musk famously said he 'hates'",
      "url": "https://www.businessinsider.com/tesla-model-y-ads-sales-elon-musk-hates-advertising-2024-3",
      "imageUrl": "https://cdn.snapi.dev/images/v1/6/6/660842fc3f923f7dab02e76eformat-2348750.jpg",
      "source": "Business Insider",
      "trimSummarys": [
        "Tesla has increased ad spending to $6.4 million in 2023.",
        "Stock value down 30% due to EV competition and managerial chaos.",
        "Elon Musk reluctantly allowed advertising after facing performance and managerial issues."
      ],
      "sentimentRating": "negative",
      "stockImpactRating": "shortTerm",
      "type": "Corporate Developments",
      "saveTimeInMinutes": 4,
      "relevanceScore": 54.1,
      "eventName": "",
      "startPrice": 0,
      "currentPrice": 0,
      "createdAt": "2024-03-30T18:10:54.598Z",
      "newsId": "660855ae8277fd8acc690e8c",
      "sourceIcon": "",
      "elapsedTime": "2 days",
      "pathTitle": "Tesla is so desperate for sales it's started advertising, something Elon Musk famously said he 'hates'",
      "name": "TSLA",
      "endPrice": 0,
      "differencePricePercentage": 0
    },
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://about.wocstreet.com/ai-news-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
