october-coder / api-check

Pure Front-End API Testing Tool
https://check.crond.dev
Apache License 2.0
413 stars 91 forks source link
logo.png # API CHECK

English · 简体中文

[!TIP] Click to try: https://check.crond.dev

Pure Front-End API Testing Tool

📦 Getting Started

Vercel Deployment

  1. Click the button on the right to start deployment: Deploy with Vercel. Simply log in using your GitHub account, and remember to fill in the backend password on the environment variables page.
  2. After deployment, you can start using it.
  3. (Optional) To deploy the backend service, please refer to the Detailed Tutorial.
  4. (Optional) Bind a Custom Domain Name: The domain name assigned by Vercel may be polluted in some regions. Binding a custom domain name allows direct access.

Docker Deployment

  1. One-click deployment command

  2. docker run -d -p 13000:13000 \
     -e PASSWORD=you_password \
     -v you_path:/app/data \
     --name api-check ghcr.io/rickcert/api-check:latest

Cloudflare Backend Deployment

  1. Refer to the Detailed Tutorial.
  2. It's best to bind a custom domain name.

📜 Recent Updates

Testing

v2.1.0

🔔 New Features and Optimizations

🔧 Optimizations and Fixes

v2.0.0

🔔 Brand New Features and Optimizations

🧪 Version History

### v1.5.0 - 📱 Adapted for Mobile Mode - 🌙 Added Dark Theme - 🧠 Optimized o1 Model Testing ### v1.4.0 - 🔍 Added Temperature Verification - 📊 Added Function Verification - 🔧 Optimized Test Prompts ### v1.3.0 - 🔍 Added Official API Verification - 🖥️ Supports Filtering Queries ### v1.2.0 - 🖥️ Added Local One-Click Run - 🌐 Supports Pages Online Hosting - 📊 Improved Test Result Display ### v1.0.0 - ✨ Supports Multi-Model Testing - 💰 Added Quota Check - 📋 Implemented Model List Retrieval

📋 Feature Introduction

🛠 Cloud Storage

🛠 Preset Parameter Settings

Test Report

🔗 url

📦 models

⏱ timeout

🔁 concurrency

🚫 closeAnnouncement Convenient for Proxy Sites

🚪 closeChat Convenient for Proxy Sites

https://check.crond.dev/?settings={"key":"*sk*","url":"*api*","models":["gpt-4o-mini","gpt-4o"],"timeout":10,"concurrency":2,"closeAnnouncement":true,"closeChat":true}

Decoded JSON string:

{
  "key": "your_api_key",
  "url": "https://api.example.com",
  "models": ["gpt-4o-mini", "gpt-4o"],
  "timeout": 10,
  "concurrency": 2,
  "closeAnnouncement": true,
  "closeChat": true
}
{
  "name": "check",
  "link": "https://check.crond.dev/?settings={%22key%22:%22*sk*%22,%22url%22:%22*api*%22,%22models%22:[%22gpt-4o-mini%22],%22timeout%22:10,%22concurrency%22:2,%22closeAnnouncement%22:true,%22closeChat%22:true}",
  "icon": "https://check.crond.dev/logo.png"
}
{
  "CHECK": "https://check.crond.dev/?settings={\"key\":\"{key}\",\"url\":\"{address}\",\"models\":[\"gpt-4o-mini\"],\"timeout\":10,\"concurrency\":2,\"closeAnnouncement\":true,\"closeChat\":true}"
}

🛠 Advanced Verification Features

🕵️ Official API Verification

  1. 🔄 Send multiple identical requests.
  2. 📊 Analyze the consistency of the responses.
  3. 🔍 Check system fingerprints.
  4. 🧮 Calculate similarity scores.

🕵️‍♀️ Temperature Verification

  1. 🧊 Set the temperature parameter to a low value (0.01).
  2. 🔄 Send multiple identical requests (e.g., calculating the next number in a specific sequence).
  3. 🎯 Check the hit rate based on the official API's reference values.

🛠 Generate Reports

Test Report

🤝 Contributing

We welcome suggestions and improvements! Feel free to submit pull requests or open issues. Let's make this tool even better together! 🌈

📜 License

This project is licensed under the Apache License 2.0.

🙏 Acknowledgments

Special thanks to the following contributors whose efforts have made this project better:

Star History

Star History Chart