Skip to main content
Anonymous reads work immediately. A logged-in session gets its own per-account quota and looks like an ordinary browser.

Use your cookies

1

Log in

Log into pinterest.com in your own browser.
2

Copy the Cookie header

In DevTools, open Network and copy any request’s Cookie header value.
3

Pass it to Pinto

Treat cookies like passwords. Never commit them, never expose them to end users, and store them encrypted server-side.

Save and restore sessions

Persist the session so credentials survive restarts with useFileSession. It’s also a good guide for writing a Redis or Postgres store.
For tests and short-lived jobs, use an in-memory session:

Multi-tenant clients

Every client is fully isolated. Device fingerprint, rate budget, cache namespace, cookies, and fetch all hang off the session object.
importCookies auto-detects the format you paste.