This is a third-party script/app and is not created by the WaniKani team. By using this, you understand that it can stop working at any time or be discontinued indefinitely.
As a result of the discussions in this thread, I made a userscript that displays the pitch type for a given vocabulary reading. The data has been automatically generated from results on http://www.weblio.jp and will auto-lookup any new ones WaniKani may add in the future.
A userscript app for you given browser, tested working with:
[quote=“seanblue, post:54, topic:18721”] @Invertex It might make sense to create a dedicated forum topic for your script for feedback and updates. My only suggestion at the moment would be to also include the raw number from Weblio, in addition to your description of the number’s meaning.[/quote]
And will do for the next update.
I had some conflicting information on this, but looking into it further I seems mora is the most used term so I’ll switch to that, thanks.
Pushed out new update, 0.17, it should fix that issue, but with it new bugs may be introduced due to unknown edge-cases with how weblio formats their results. I already caught a couple, hopefully shouldn’t be any other but keep an eye out!
Also now displays the pitch value and uses mora instead of moji.
This is the best thing ever, thank you so much! I was already wondering what would be the best way to incorporate pitch accents into my learning since I wanted to get this information into my head as soon as possible.
I may be wrong (since I’m a beginner and have no experience with pitch accents) but I just installed 0.17 and I think the bug that was mentioned before still exists (or a similar one).
父 「父(ちゃん)」の意味や使い方 わかりやすく解説 Weblio辞書
Pitch starts low, stays high for 2 mora, ends low. 
Spotted this item that came up with having no pitch accent found, likely because there are two possible readings, I’m guessing. The handy link you included in the number gives the information on the Weblio page however.
Alright, implemented it in the latest version, 0.18! Thanks.
Also, does anyone know of any words that might have more than 2 acceptable pitches? I hard coded it for two since it was simpler but if there is the possibility of a word having more than two I’ll make it dynamic.
Hmm, well I guess I should add that my script is programmed in TamperMonkey. So it could be my script has issues with Greasemonkey? Could you give TamperMonkey a try and see if it works? It supports most browsers.
Alright, fixed that! Indeed, it was because of the two readings so it was breaking the string matching.
Hrmm interesting, yeah I had seen a few pages like that but didn’t know enough to interpret them. I guess I’l have to add that to a TODO list, as that will be a bit more of an undertaking to create handling for.
If what you have is a number, then one way to do this would be to split the word into kana, and apply the relevant style to the appropriate character. The one thing that might be tricky is that compound kana should be treated as one.
It might be helpful to know that so-called “defficient” mora (long vowels, ん, and the small っ) cannot bear the accent (but are still counted).
So I was curious to look up the pitch accent on 当たり and 辺り. 当たり starts low, ends high, and 辺り starts high ends low. But the audio on WK totally doesn’t match (at least to me). 辺り sounds like it starts low, goes high, then goes in the middle (is that even a thing?) and 当たり sounds like it goes from high to low. Is this just my imagination? I am pretty confused now.
That was the first one I had looked up as well and was confused, so instead I went and listened to other vocab and most others seemed to match the pitch info. I think the case might just be whoever did the recordings has some pitch influence from their own region of Japan?
The idea I’m suggesting has a similar feel actually to this extension. This extension points out not only when a Kanji has a certain (on’yomi) pronounciation, but also points out when its a Rule or an exception for that radical, so you can learn the rules from it. WaniKani Phonetic-Semantic Composition for Greasemonkey
Of course that extension is teaching on’yomi, whereas yours is teaching pitch accent so its different, but the way-of-teaching could be similar.