Skip to main content
Språkbanken Text is a part of Språkbanken.

How to download Korp data as JSON

  • Do the search as usual in the Korp API
  • Activate the browser's web developer tools:
    • Firefox: Menu > More tools > Web Developer tools
    • Chromium: Menu > More tools > Developer tools
  • In the Tabs section of the Developer tools, select Network.
  • With the Developer tools still on screen, click "Search" once again.
  • Firefox: In the Network tab look at the column called "File", right click the line beginning with "query?" and select Copy Value > Copy URL.
  • Chromium: In the Network tab look at the column called "Name", right click the line beginning with "query?" and select Copy > Copy link address.

This query can now be pasted into a new tab. You will see the result of the query (search) as a JSON document that you can save.

Note! If the result is very large it might crash the browser or the tab. This can be handled by clicking the browser's stop ("X") button as soon as the query starts to show. Then select Menu > Save Page As... to save the complete result.