Skip to content

Commit

Permalink
services/ticker: update API root on ticker docs (#1339)
Browse files Browse the repository at this point in the history
  • Loading branch information
accordeiro authored May 28, 2019
1 parent 7700858 commit 34fc7b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions services/ticker/docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ are aggregated in the `XLM_BTC` pair.

### Example
#### Endpoint
GET `https://ticker-v2.stellar.org/markets.json`
GET `https://ticker.stellar.org/markets.json`
#### Response (application/json)

```json
Expand Down Expand Up @@ -142,7 +142,7 @@ Lists all the valid assets within the Stellar network. The provided fields are b

### Example
#### Endpoint
GET `https://ticker-v2.stellar.org/assets.json`
GET `https://ticker.stellar.org/assets.json`

#### Response (application/json)

Expand Down Expand Up @@ -211,7 +211,7 @@ GET `https://ticker-v2.stellar.org/assets.json`
## GraphQL interface
Asset, issuer, markets and ticker data can be queried through a GraphQL interface, which is also provided by the Ticker.

To explore the GraphQL queries, you can access the GraphiQL URL: https://ticker-v2.stellar.org/graphiql
To explore the GraphQL queries, you can access the GraphiQL URL: https://ticker.stellar.org/graphiql

## Orderbook
Apart from the orderbook data provided by `markets.json`, orderbook data can be retrieved directly from Horizon. In order to retrieve `ask` and `bid` data, you have to provide the following parameters from the asset pairs:
Expand Down

0 comments on commit 34fc7b0

Please sign in to comment.