https://github.com/benschza/kawapi-cli
Think ngrok for monetizing dataset APIs. A secure reverse proxy creating a marketplace between data producers and data consumers.
https://github.com/benschza/kawapi-cli
blockchain go iota proxy-server
Last synced: about 2 months ago
JSON representation
Think ngrok for monetizing dataset APIs. A secure reverse proxy creating a marketplace between data producers and data consumers.
- Host: GitHub
- URL: https://github.com/benschza/kawapi-cli
- Owner: BenSchZA
- License: unlicense
- Created: 2019-10-19T06:20:06.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-27T21:31:33.000Z (almost 6 years ago)
- Last Synced: 2025-02-15T23:41:50.640Z (8 months ago)
- Topics: blockchain, go, iota, proxy-server
- Language: Go
- Homepage: https://www.kawapi.io/
- Size: 7.4 MB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# KawAPI
From the Japanese 河 (Kawa), which translates to stream.
KawAPI is a bridge between data consumers and data producers. It is a tool that allows the monetization of any data stream
## Give it a try
Open http://www.kawapi.io/37c1e3be-da52-4f85-b97d-b407639ffe7b/endpoint/molecule/api/project in your browser. You'll get 10 free transactions per session before the server responds that you need to start sending IOTA micro-transactions.
## Inspiration
We believe there are industries with large datasets that have non-trivial value, and no easy way to open up these datasets. We'd like to create a way to value and provide access to these datasets, with dynamic pricing based on the consumer and producer requirements.
When Google gives you a Google Form to request access to paid APIs, that's when you know the current system is broken: https://docs.google.com/forms/d/e/1FAIpQLScK9o4sb96aJMRsK9UUCAiKLjQRJGyrBg2d9XKSL9rOFfpOzg/viewform
## The Tech

KawAPI uses IOTA to perform microtransactions for dynamically priced data streams. It consists of a client CLI that securely manages the transactions from your IOTA wallet, and a server that acts as a reverse proxy between the consumer and the producer, to securely provide access to datasets and APIs.
The server is hosted at kawapi.io, but could be self hosted. Your seed never leaves your side, and all code is open-source.
* rate limiting, pagination, free preview tiers, etc.
* value datasets by access bandwidth rather than selling the actual dataset
* if you have a machine learning model that needs access to the dataset at a high tx rate, you'd pay more than someone who wanted a sample of the first 100 entries
* pay for computation CPU load## Roadmap
* Implement a Ngrok/Chisel style tunnel to allow easy provision of local datasets.
* Provide interfaces to decentralized datastores, like Ocean, OrbitDB, IPFS, and even IOTA itself.
* Create a marketplace of API endpoints, open for producers to add their endpoints, and consumers to discover endpoints.