API: 403 error when CURL/fetching from the Claims API

We have been hitting the Claims API for months:

But recently, we get back a 403 Forbidden error when running the CURL request in that doc:

$ curl -X GET "https://apps.api.manifoldxyz.dev/public/instance/data?id=1851414768"
<html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
</body>
</html>

Hi!

If you are running the CURL request and is not from a browser application, you will need to append “User-Agent” in the header manually, our server will think you are a bot otherwise.

Hope this helps!

Sending a User-Agent header doesn’t seem to help:

curl --location 'https://apps.api.manifoldxyz.dev/public/instance/data?id=1046501616' \
--header 'Accept: application/json' \
--header 'User-Agent: Daylight/1.0.0'

Response:

<html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
</body>
</html>

Is there a document explaining how to make node fetch requests to the API?

I was able to get this to work by setting the User-Agent to Chrome’s.