Numista API error 404 [Risolto]

Pubblicazioni di 5 • visto 73 volte

I'm sorry, I'm pretty new to web programming and maybe I just need to be pointed in the right direction.

 

I'm trying to use Numista API for a simple application.

When I do the test with https://api.numista.com/api/v3/coins/95420

I get: an http error 404:

 

{StatusCode: 404, ReasonPhrase: 'Not Found', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
{
 Date: Mon, 24 Jun 2024 20:57:06 GMT
 Transfer-Encoding: chunked
 Connection: keep-alive
 Set-Cookie: PHPSESSID=u1b966ako4ahbjc98flcoai2h1; expires=Tue, 25 Jun 2024 08:57:06 GMT; Max-Age=43200; path=/; domain=.numista.com; HttpOnly
 CF-Cache-Status: DYNAMIC
 Server: cloudflare
 CF-RAY: 898fa0d4cd483754-MXP
 Alt-Svc: h3=":443"; ma=86400
 Content-Type: text/html; charset=UTF-8
}, Trailing Headers:
{
}}

 

But even when I in API documentation: https://en.numista.com/api/doc/

And I click on https://api.numista.com/api/v3/coins/95420 or even https://api.numista.com/api/v3 I get a 404. Is this correct? Do I need to authenticate for this call? In this case is the 404 misleading? Should the above links also work in a web browser?

 

Thank you for your patience.

 

Lucazeo.

For API, please contact @Xavier 

Catalogue administrator

Hello,

The endpoint /coins is deprecated and was removed from the API v3.

Please use the endpoint /types instead, for example https://api.numista.com/api/v3/types/95420

I fixed the introduction of the documentation, which still mentioned /coins.

Thank you! I will try in the evening. 

I confirm it now works fine!

Thank you!

Stato cambiato a Risolto (ZacUK, 26 Giu 2024, 21:29)

» Politica del Forum

Il fuso orario utilizzato è UTC+2:00.
L'ora attuale è 08:17.