Pinboard API Proxy

Tiny proxy server to allow all origins to fetch the Pinboard API.

For whatever reason, the Pinboard API doesn’t have CORS enabled — so you can’t make API calls directly from the browser (for context, here’s an old thread on the subject).

This tiny Vercel serverless function acts as a proxy to the Pinboard API allowing requests from all origins.

Deployed at pinboard-api-proxy.vercel.app.

Setup

  1. Fork this repo
  2. Link it to your Vercel dashboard
  3. That’s it ?

Usage

Call /api/* just like if it was the Pinboard API.

For example, /api/v1/posts/all?format=json will be proxied to https://api.pinboard.in/v1/posts/all?format=json.

License

Released undet the MIT license.

GitHub

View Github