This little script comes from me needing to find the ID number for a Pinterest board so that a script I wrote could automatically add new pins.
But it looks like while it used to be pretty easy to find the board ID, it’s gotten a bit less transparent. But it’s still really not hard to find if you’re willing to dig through a bit of HTML. Being a bit on the lazy side though, I’d rather write a quick little script to find it for me so that next time I can just punch in the board URL and get the ID automatically.
And, so here is a tool to do just that. Enter the URL to the board you’re interested in and it will go and grab the page HTML and pick out the board ID for you.
What URL do I use?
The easiest thing is to go to the board you’re interested in and copy the URL from your browser address bar. Then copy it into the field above and press the button.
It also works when entering the address of your account page – the one with all of your boards listed – but will only return the ID of the first board. If getting all of the IDs is something that would be useful, let me know in the comments. It’s probably something that could be added.
How does this work?
It’s giving me an error
What to do depends on what the error is.
First, this does check to make sure that the URL is on pinterest.com. It doesn’t really make sense to check for a Pinterest board ID on other sites.
If you’re entering a correct address and it’s still telling you that it can’t find the board ID, let me know in the comments. Maybe Pinterest changed something. This was working when I posted the page, but things change.
I badly need the script to get the board id of a pinterest account can you please help me with the script.
Is it not working? I just checked it with a couple of different boards and it worked like it should.
I, too, cannot get the Board ID.
Would it be possible to get hold of the Script to Auto Post to Pinterest?
Here ya go. It’s a node script.
I found that you have used an AJAX call to generate the Board ID. Can you give me the PHP function so that I can include it in my project ?
@Arka – It’s just pulling the source and doing a regex match.
Great tool thx! Save me some headaches! ;)
Great tool thx! Saved me some headaches! ;)
https://www.pinterest.com/kendqleads/ This is what i used fro a Board ID. Did’t work. Any help?
https://fr.pinterest.com/kantor55/ This is thee URL I used fir a Board ID…. and it did not work … Can you help me ?
Just tried and that URI worked fine. It pulled an ID.
The above website link is where I used to have my Pinterest Feed/Page. Now it says, “Please recheck your ID.”
This is what USED to work: [alpine-phototile-for-pinterest src=”board” uid=”johnnaccarato” board=”senior-fashion-style-guide” imgl=”none” dl=”1″ dlstyle=”medium” style=”cascade” col=”5″ size=”192″ num=”10″ max=”100″]
I replaced the board= name to: 36802990643908431 which is what was generated when I used to gizmo. I still receive the same error.
Thanks for any help. John
Post not successful at Pinterest. What can I do?
I have tried this multiple times to connect pinterest to insta viral but it does not work, any suggestions?
No clue about insta viral.
hi ryan. neat little script, works for me. i would however, like to see how to pull a boardID for each board in my account if that is possible. this would be very useful to mass post into specific themed boards. thanks ryan.
Not sure how to do that. Seems Pinterest has been pretty stingy about opening up a public API for that sort of thing.
Ryan, great resource page and thanks for sharing script! Personally, it worked perfectly for me.
Does this pull board ID’s for secret boards?
Don’t know. I haven’t done anything with secret boards on Pinterest.
Although, I’m also not using the code anymore where I need the code anyway. I’ve started using this library – http://dirkgroenen.nl/projects/2015-08-12/php-wrapper-for-official-pinterest-api/ All you need is the path to the board, not the ID, and an access token. It makes it much easier.
[…] the simplest way to get your board ID is to head on over to Nutt.net (click this link it’s easier) paste your URL into the box just below the Pinterest logo & […]
[…] How To Get Pinterest Board ID […]
I go to the board on my profile page and copy the URL pasting it in the designated box and it won’t come up…..a small box appears (nutt.net) stating it cannot be supported. Something isn’t right here….HELP
It is not working too over here
Not sure what to say. I just tried it with one of my boards and it worked perfectly. Make sure that you’re pasting in the entire URL of your board.
Are you getting any error messages, or is just nothing happening?
It just work for me perfectly. Thanks for this.
It works perfectly.
I am on Pinterest.ca any advice for me please?
Try it now and let me know if it works. The script is looking for any TLD now instead of just .com.
HI, I don’t have Pinterest . com but rather a Pinterest . ca any help for that?
Give it a shot now. I didn’t know that Pinterest separated out international TLDs so it was specifically looking for pinterest.com. Now it’s looking for Pinterest followed by any TLD instead. I tried a couple on the .ca site and it looks like it’s working.
I get this error message: ‘This only works with urls on Pinterest’ when I post in the URL I got from Pinterest. I am on .co.uk
Should be working now. Same issue as the Canadian TLD, so now the script just looks for “pinterest.” without any TLD.
Still does not work. I’ve tried 4 different ID’s, it does not return anything.
Hi, I am rying to get the id for boards that are within boards. It only seems to pull up the ID for the main board and not the sub boards.
Hey, Do you have any tool which extracts email associated Pinterest account? I forgot my email and Pinterest is not helping me get it back, thanks
Hallo, über den Link kann ich leider die Board-ID nicht herausfinden. Gibt es noch eine andere Möglichkeit?
I am trying to connect this to publerand will not work . say no account says could not find a Zap for this account. I followed the instructions correctly or so I think
Your tool was working perfectly until a month ago, now it doesn’t get any ID. Be kind to fix this.
Holy cow, this is what I need but it doesn’t work. Have mercy on us and please fix this thing or I start pulling my nails easier than finding the board id. Why is Pinterest so pita about this.