Look up Japanese public programs from your browser in one click
A bookmarklet and Chrome extension that let a tax accountant, consultant, or journalist select a corporate number (13 digits) or program name they encounter while browsing the web and query jpcite in one click. Anonymous 3 req/day free (IP-based, resets JST next-day 00:00). With an API key, ¥3 tax exclusive (¥3.30 tax inclusive) per billable unit.
How it fits
- Select a 13-digit corporate number or a Japanese public-program name, then run the bookmarklet to open the matching jpcite lookup.
- The browser tool sends selected text to jpcite search or corporate-number lookup; it does not call an LLM.
1. Bookmarklet (use it right now)
Drag and drop the snippet below onto your browser's bookmarks bar. After that, on any page, select text and click the bookmark to query jpcite. With no selection, an input prompt appears.
Behavior: if the selected text is a 13-digit number (a leading T is allowed) it opens /v1/houjin/{n}; otherwise it opens /v1/programs/search?q=<encoded> in a new tab. It does not call an external LLM API; it opens jpcite's search page with the selected string.
javascript:(function(){var s=((getSelection()+'')||prompt('jpcite search:')||'').trim(),d=s.replace(/\D/g,''),b='https://api.jpcite.com/v1/';s&&open(/^T?\d{13}$/i.test(s)?b+'houjin/'+d:b+'programs/search?q='+encodeURIComponent(s),'_blank')})()
Usage in 3 steps
- Show the browser bookmarks bar (
Cmd + Shift + B/Ctrl + Shift + B). - Drag and drop the "Query with jpcite" snippet onto the bookmarks bar.
- On any web page, select a corporate number / program name → click the bookmark.
2. Chrome extension (right-click menu + popup form)
A step deeper than the bookmarklet. Highlights 13-digit numbers on hover, a "Query with jpcite" right-click menu, and a popup form from the toolbar icon. The only permission is contextMenus (the extension does not fetch; it only has the browser open a tab — the same privacy posture as the bookmarklet). It does not call an external LLM API. Pricing is the same: anonymous 3 req/day free; with an API key, ¥3 tax exclusive per billable unit.
Manual install (pre-publication / for developers)
- Clone
sdk/chrome-extension/from GitHub. - Open
chrome://extensions/and turn on "Developer mode" (top right). - "Load unpacked" → select
sdk/chrome-extension/. The jpcite icon appears in the toolbar. - On any page, hover a 13-digit number → highlight → click to query.
3. Bookmarklet vs Chrome extension — comparison
| Item | Bookmarklet | Chrome extension |
|---|---|---|
| Distribution | Drag-drop from this page (usable instantly) | Chrome Web Store (publishing needs ¥750 + a Google account) |
| Launch UX | Select text → click bookmark (2 steps) | Right-click menu, hover-highlight, or toolbar popup |
| Permissions | None (a plain bookmark) | contextMenus only (no fetch) |
| External LLM call | None | None |
For the live Japanese page (with the drag-drop install button), see the Japanese page. For English API examples, see jpcite for foreign-invested entities.