Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
IAPI

IAPI

Import items from external programs/generators.

90
1
Utility

Compatibility

Minecraft: Java Edition

1.20.4

Platforms

Fabric

Supported environments

Client-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source

Creators

Totobird-Creations
Totobird-Creations Member

Details

Licensed MIT
Published last year
Updated last year
DescriptionGalleryChangelogVersions

Import items from external programs/generators.

For Players: Click the IAPI import option in whatever program you're using. Make sure you are in creative.

For Developers: Send a POST request to the local device (127.0.0.1), with a port. The default port is 25530.

// Web Javascript Example

port = 25530; // It is recommended that you provide an option to change this.

// Most webbrowsers do not allow getting data back from this request.
// Game logs will indicate what went wrong.
// If you are using a desktop application, this is not a problem.
fetch("http://127.0.0.1:" + port, {
  method : "POST",
  headers : {
    "Content-Type" : "text/plain"
  },
  body : "minecraft:stone{display:{Name:'\\'Happy Stone\\''},Enchantments:[{}]}"
});

Modrinth is open source.

main@bd61f5d

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.