Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

311
Views
Reading JSON from IPFS IMPOSSIBLE?

I'm attempting to get the JSON object from a known ipfs link. When I use a function like $.getJSON() or node-fetch I am greeted with an error telling me I can only use http. I've searched around for hours now and found nothing on this. Thanks!

Example IPFS link: ipfs://bafybeignop35wemk2eu2z34qurwusjeuri6unpyzrzeetmxs4hrwksq7dq/?filename=tokenURI.json

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

That function will not work through the IPFS protocol ipfs://. The quickest and dirtiest way to get that JSON file is to use a trusted public gateway.

You'll find the list of public gateways via the link below.
https://ipfs.github.io/public-gateway-checker/

The most important bit of information in that link is your CID that might refer to a folder or a single file. You can link to your JSON file with that CID using any of these public gateways.

e.g.; https://ipfs.io/ipfs/bafybeignop35wemk2eu2z34qurwusjeuri6unpyzrzeetmxs4hrwksq7dq/?filename=tokenURI.json

Please note that these gateways are not there to use in any production environment. They usually come with restrictions such as rate-limiting.

You can read more here:
https://docs.ipfs.io/concepts/ipfs-gateway/#can-websites-rely-on-the-ipfs-io-gateway-for-hosting

I also recommend you this article they have, you'll better understand the whole concept.
https://docs.ipfs.io/concepts/ipfs-gateway/#gateway-providers

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!