How to Search Pinterest Pins With the Pinterest API
Search Pinterest pins from an agent or script and turn the response into a reusable research table.

Search Pinterest and return a table your agent can use. Paste this into your agent:
Set up https://monid.ai/SKILL.md, then search Pinterest for home decor, summarize the returned pins without personal data, and save the results as a table.
One prompt starts the search.
A developer looking for the Pinterest API often needs one thing: turn a search into data that an agent can read. Copying pins into a spreadsheet works for one topic, but a second search creates another set of links and another manual reconciliation job.
A visual browser is useful for judging an idea, yet it does not give your script a structured record to join with the next search. You need a repeatable input, an identifiable result, and a way to distinguish an empty field from a missing result.
This guide uses Monid, the OpenRouter for agent tools, to search for pins and turn the response into a small research table. We'll set up a key, make one search, then explain how to read and store the result. Monid is the tool layer through which the agent calls a provider; it is not a model gateway.
Here's the actual result of one search for home decor on December 3, 2026. The counts describe this response alone, not Pinterest as a whole.
| Query | Pins returned | Blank descriptions | Next cursor |
|---|---|---|---|
| home decor | 16 | 5 | Present |
How to use the Pinterest API in your agent
Search with Monid by discovering a tool, inspecting its input, and running a single query. An endpoint is a specific callable operation; here we use ScrapeCreators Pinterest search to return a page of pins, not to create or modify pins.
Step 1. Set up your agent
Get a key at app.monid.ai and give it to your agent through its normal secure configuration. Then ask the agent to set up the skill:
set up https://monid.ai/SKILL.md
The agent quickstart explains the setup. The skill gives the agent the discover, inspect, and run workflow; you still decide the query and what to do with the results.
Step 2. Set up the CLI
Install the CLI and add your key if you want to run the search yourself. The CLI quickstart covers configuration.
npm install -g @monid-ai/cli
monid keys add --label main --key <your-api-key>
Keep the key out of shared scripts and output files. One key and balance can be used across the catalog, so the search can sit alongside other tools in the same agent workflow.
Step 3. Discover and inspect the search
Discover is free and inspect is free. Inspect the exact operation before running it: its input is in query parameters, and query is required.
monid discover -q "pinterest api" -l 10
monid inspect -p scrapecreators -e /pinterest/search
The inspected input also accepts trim, a boolean that requests a trimmed response, and cursor, a continuation token. Start with one precise phrase rather than a long list of unrelated topics. That makes a result easier to review and limits the first test to a single call.
Step 4. Run one search
Run the same small example we used, with the parameters passed through --query. The -w flag waits for completion.
monid run -p scrapecreators -e /pinterest/search --query '{"query":"home decor","trim":true}' -w
Our call completed with HTTP 200 in 4.368 seconds and returned 16 pins and a cursor. A response page is a sample of search results: do not read its order or its size as a measure of platform-wide popularity.
Step 5. Save a useful table
The response has a pins array and a cursor. In our run, individual pins included id, url, description, created_at, pinner, and images; the image object contained sizes and dimensions.
For a shareable summary, store the query, the collection date, the count of pins, the count of nonempty descriptions, and whether a cursor exists. Keep account names and image URLs out of reports that do not need them. Preserve the raw response separately only when your task requires it, with access controls suited to its contents.
Why turn Pinterest search into a table?
A table gives your agent a stable handoff from visual discovery to review. Monid returns the provider response; your script decides what a row represents and what it is allowed to infer from that row.
Separate an observation from a conclusion
In the test above, five of the 16 returned descriptions contained only whitespace. That is a useful data-quality observation: a text-only analysis would have less material for those five records. It does not mean the pins lacked images, that their creators supplied no context elsewhere, or that the same fraction holds for another query.
If you are researching design references, use the result to create a review queue. A human can inspect a pin's visual content and decide whether it fits the brief. Do not label the returned set as the most popular designs or infer performance from search position alone.
Keep the query with the result
Attach the exact query and retrieval date to each saved batch. Without those two fields, a later reader cannot tell whether two rows came from different searches or from another run of the same search. Add your own review status as a separate field so an editorial judgment is never confused with a field returned by the provider.
A search on another visual platform is a separate dataset. Keep the platforms and collection dates explicit when comparing their results.
How can you collect search results?
Choose the route based on the handoff you need. Monid is useful when the next consumer is an agent or a script and you want one tool configuration for multiple providers.
| Route | Billing approach | Best for | Limit |
|---|---|---|---|
| Monid with ScrapeCreators | Per call | An agent needs a structured search response | This operation searches pins; it does not publish them |
| Manual Pinterest search | No tool call in this workflow | Reviewing a few visual references | Copying and reconciling records is manual |
| Your own collection script | Your own infrastructure | A custom collection and storage pipeline | You own the collection and maintenance work |
Use a visual review for a small task
If a designer needs a handful of examples for a single meeting, open the results and judge them visually. A response containing image links does not replace the judgment of whether an image serves the brief. Manual review also gives a useful baseline for deciding what fields your future table needs.
Use structured search for repeated work
Use the search operation when a query must enter a repeatable pipeline. Save the original query, collect a page, identify the rows, and hand a compact table to the next step. Repeating the same operation creates another observation, not an automatic comparison: you still need a consistent query and a rule for matching records.
Build your own pipeline for custom requirements
A custom script lets you control storage, review, and downstream transformations. Its obligations include handling failures, protecting credentials, and maintaining the collection code. Using a provider through the tool layer leaves those downstream decisions with you while giving the script a callable search operation.
How to read and reuse the results
Treat each returned pin as a candidate for review, and treat empty fields as missing information. Monid passes back the search response; it does not determine whether a pin is relevant to your project.
Read the returned fields
Use id to identify a pin in your own dataset and url to open it for review. The description provides text when present, while created_at is a timestamp supplied with the record. The images object gives image variants; image dimensions describe the returned asset, not engagement or quality.
The response also included a nested pinner object. That is account information, so exclude it from a general trends summary unless your task actually requires account analysis. A pin's saved account is not proof of the original creator or ownership of the image.
Handle blank descriptions deliberately
Trim whitespace before counting descriptions. Store an empty value as empty, not as a literal summary generated from the image URL. Our test returned five blank descriptions, so a workflow that discards blanks would have excluded those five records from text analysis. The correct action depends on the task: send them to visual review, or leave their text classification unset.
Create a review queue
A practical queue needs a pin identifier, query, collection date, a link, and your own review decision. Add a reason such as relevant to the brief or requires visual inspection only after a reviewer has made that decision. For a public report, use aggregated counts like the opening table rather than reproducing names, handles, or photos.
If your next task is a table of text posts, the Twitter scraper guide describes a comparable handoff from search results to rows. Keep each source's identifiers and fields separate rather than assuming a pin and a post have identical meanings.
How do you handle paging and cost?
Each additional search page is another call, so set a page budget before following a cursor. Monid shows the current operation and billing details on the ScrapeCreators tool page.
Price the first call
The search is $0.00188 per call, Verified 2026-12-03. Our single successful test cost $0.00188, Verified 2026-12-03. Discover and inspect are free; run is the paid step.
The provider's inspected billing notes say error-status requests are free, and a successful response that the upstream does not charge for, including an empty page, is also free. A cache hit is billed like a live call. A failure reported inside a successful response is billed only when the upstream charged for it; our test did not exercise these cases.
Continue only when you need another page
The returned cursor is an opaque continuation token. Pass it back as the cursor query parameter along with the same search query to request the next page. Store the token as data rather than interpreting or editing its characters. For another example of cursor-based collection, see the Instagram follower export guide.
Deduplicate results by pin id before counting a combined set. Stop when your review has enough candidates, the response has no cursor, or your page budget is reached. The tested operation has no declared result limit parameter, so the first call's 16 records should not be treated as a promised page size.
Store the run separately from the report
Keep the raw response and derived table distinct. The raw response gives your script a source for later parsing; the table records the fields and counts selected for the task. Log the query, date, run ID, and completion status so you can trace a summary back to a specific run without putting credentials in the report.
When should you use something else?
Use Pinterest directly when your task is to visually review a few ideas and you do not need a machine-readable export. This is the Monid blog, and Monid provides access to the ScrapeCreators operation described here; our perspective is that of the tool layer.
Choose the operation for the job
The tested search covers keyword discovery of pin records. It does not publish pins, update boards, or provide a complete measure of platform trends. A workflow that needs those outcomes needs a different integration and its own verification. Do not infer those capabilities from a successful search.
For a single known pin, a search query is also an indirect starting point. Pick a tool designed for a known pin only after inspecting its inputs, billing, and current status. For an agent that needs several different sources, browse the tool catalog and inspect each operation before adding it to the workflow.
Which tool should you use?
The tested Monid route is a fit for a keyword search that feeds a review table. Its price applies to the call, not to each pin in the sample.
| Use case | Best endpoint | Why? |
|---|---|---|
| Search pins by topic | ScrapeCreators Pinterest search | Returns a page of pins and a cursor; $0.00188 per call, Verified 2026-12-03. |
Keep the decision narrow
Start with the search when you have a topic and need candidate records. Save the identifier and description where supplied, review the results, and add other operations only when a separate question requires them. The presence of a cursor is an invitation to request another page, not an instruction to collect indefinitely.
Conclusion
You now have a repeatable Pinterest search and a clear way to turn one response into a privacy-conscious table. Start with one query, inspect the blank fields, and set a page budget before expanding the search; that gives your team a reviewable set of ideas with its source and collection date attached.
FAQ
Can an agent search Pinterest through an API?
Yes. An agent can use the ScrapeCreators Pinterest search through Monid to send a keyword and receive a page of pin records.
Is Pinterest search through Monid free?
Discover and inspect are free; a successful search call is $0.00188 per call, Verified 2026-12-03. The tool page shows the current price and billing details.
Do I need to write code?
No. Give an agent the setup prompt and the search task; use the CLI commands in this guide if you prefer to run the request yourself.
How many pins does one search return?
The tested home decor search returned 16 pins. This is one observed page, not a guaranteed page size.
Can I get more than one page?
Yes. When the response includes a cursor, pass it back with the same query to request another page and deduplicate the combined records by ID.
Are failed requests charged?
The inspected billing notes say requests returning an error status are free. A failure reported inside a successful response is billed only when the upstream charged for it.
Can I schedule a Pinterest search?
Yes. Schedule your own agent or script to run the query, record each collection date, and apply a call budget; scheduling is separate from the search operation itself.
Can I reuse the returned images?
Rules vary by jurisdiction and intended use, so check the applicable rights and rules before reusing content.
Published December 2026.


