> For the complete documentation index, see [llms.txt](https://spawner.gitbook.io/spawner-news/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://spawner.gitbook.io/spawner-news/master.md).

# Spawner News Sentiment

## If you haven't already, c**reate a Spawner account.** <a href="#create-an-account-and-start-exploring-gitbook" id="create-an-account-and-start-exploring-gitbook"></a>

1. ​[**Sign up**](https://spawner.ai/register) to create a new account.
2. [**​**](https://spawner.ai/login)**Log in** to Spawner and **create your first Access Token** ✨

**Tip:** If you're new to Spawner, you should know we're always around and happy to help if you run into any issues. You can find us on on our [**Discord**](https://spwnr.link/discord).&#x20;

## News Sentiment

<mark style="color:blue;">`GET`</mark> `https://spawnerapi.com/news/<ticker>/<token>`

Simply query this REST endpoint with your ticker and get latest news back.

#### Path Parameters

| Name   | Type   | Description                               |
| ------ | ------ | ----------------------------------------- |
| ticker | string | Ticker for which you want sentiment/news. |
| token  | string | Token for authentication to the API.      |

{% tabs %}
{% tab title="200 Cake successfully retrieved." %}

```
{    "name": "Cake's name",    "recipe": "Cake's recipe name",    "cake": "Binary cake"}
```

{% endtab %}

{% tab title="404 Could not find a cake matching this query." %}

```
{    "message": "Ain't no cake like that."}
```

{% endtab %}
{% endtabs %}
