Inspiration

With the rapid growth of cloud computing and the increasing usage of AI models, many companies find themselves with API credits they don’t need.

What It Does

APISwap enables secondary market trading for API credits issued by machine learning (ML) and cloud computing providers. Each API key is transformed into a unique non-fungible token (NFT), facilitating seamless resale and allowing providers to earn royalties while enhancing access to AI services.

We initially focused on the Mistral AI chat API endpoint, creating NFT-gated access to this API, which can be tested on our frontend. Additionally, we developed an API for ML and cloud compute providers to generate NFTs linked to their APIs, enabling users (companies and startups) to treat their API credits as sellable assets.

How We Built It

Our technology stack includes:

BASE blockchain for deploying NFTs Python FastAPI for the backend Node.js, Hardhat, and Solidity for deploying smart contracts Mistral AI API for product testing Next.js for the frontend

Challenges We Encountered

Initially, we attempted to build and deploy smart contracts using Python, but this approach proved ineffective for Ethereum. We quickly pivoted to JavaScript to streamline our development process.

Accomplishments We're Proud Of

We successfully built a working technology in less than 24 hours, demonstrating our team’s efficiency and commitment.

What We Learned

Despite having limited experience with smart contracts, we embraced the learning curve and gained valuable insights into blockchain development.

What's Next for APISwap

We plan to develop a frontend for the secondary market where users can purchase and trade access to APIs. Future enhancements will include integrating AWS cloud compute services and other providers into our system, as well as developing software to assist users in accurately pricing their API credits.

Built With

Share this project:

Updates