Exports of AnimeTosho's database are dumped here daily, and can be downloaded and used for whatever purpose without restriction.

Notes:

Download

Files updated: 2025-05-16

Available File Links snapshots:

Format

Data is in the form of text files, with fields separated by tabs and each line representing a record/row. Data is encoded in UTF-8, with Unix line endings, and tab, newline, null and backslash characters escaped using C-style escapes (\t, \n, \0 and \\ respectively).
The first row always contains the column headers - you can use these to sort data appropriately, to deal with structural changes.
Data is actually exported from a MySQL database, and can be imported into MySQL using a LOAD DATA query. You can also load it into Microsoft Excel, and although I'd like to joke about trying to load sizable data sets into Excel, it actually works...

The following describes the tables and fields.

Torrents Table

This table contains all torrent entries. For example, the display on the homepage simply pulls latest items from this table.

Fields:

Files Table

This table contains all file entries. Torrents contain one or more files.

Fields:

Mediainfo and related data are currently not included mainly due to size and time it takes to dump the data. The data is also compressed using a custom LZMA based scheme, which users would need to implement a decompressor for. I may consider including this data if many are interested in such.

Attachments Table

This table contains all attachment (subtitles, fonts etc) entries. File entries contain 0 or more attachment entries. Note that attachments are de-duplicated, and hence, there's a separate Attachment Files table (below) which describes unique attachment files.

Fields:

MIME Compaction

To conserve some space, MIME types for attachments may be compacted using the following scheme:

  1. If the mime key exists, that is the MIME type without compaction
  2. If the m key exists, it represents a compact MIME type. This will be one of these forms:
  3. Otherwise the MIME type is based on file extension, according to the following table:
    Extension to MIME table
    Extension(s)MIME type
    ttffont/ttf
    sfntfont/sfnt
    otffont/otf
    wofffont/woff
    woff2font/woff2
    ttcfont/collection
    pfb, pfmapplication/x-font-type1
    txttext/plain
    logtext/x-log
    nfotext/x-nfo
    pytext/x-python
    rbtext/x-ruby
    xmlapplication/xml
    vtttext/vtt
    htm, htmltext/html
    jpg, jpegimage/jpeg
    pngimage/png
    webpimage/webp
    avifimage/avif
    bmpimage/bmp
    tiffimage/tiff
    heicimage/heif
    mkvvideo/x-matroska
    mp4video/mp4
    pdfapplication/pdf
    zipapplication/zip
    rarapplication/x-rar
    7zapplication/x-7z-compressed
    srtapplication/x-subrip
    torrentapplication/x-bittorrent
    battext/x-msdos-batch

Attachment Files Table

This table contains information about attachment files stored on disk. A file on disk can be linked to multiple attachments (due to de-duplication).

Fields:

File Links Exports

These contain the download links generated for files.
The data is an export of links generated/updated since the last export, performed daily. Only a few days' worth of snapshots are retained, and the full table is not available due to size.

Fields:

Other Tables

The other tables used by Anime Tosho probably won't be supplied for the following reasons:

Code

All open sourced code can be found on this GitHub page.