KP BIN

Kpbin is a free text cloud that allows users to upload and share text online





Upload Using Telegram bot:  @kpbin_bot


API Documentation For KPBin



Endpoint

POST server3.cloudkp.com/bin/new


Request Parameters

Parameter Type Required Description
content string yes The content to be posted on cloudkp.com

Response

On successful request, the API will respond with a JSON object containing a link's id to the newly created post.

{
  "id": "abc123"
}

Example Usage

Python:


import requests

def post_content(content):
  url = "https://server3.cloudkp.com/bin/new"
  payload = {"content": content}
  response = requests.post(url, json=payload)
  data = response.json()
  return f"https://cloudkp.com?b={data['id']}"

# Example usage:
result = post_content("Hello, world!")
print(result) # Output: https://cloudkp.com?b=abc123

Error Responses

If there was an error making the request, the API will respond with an appropriate HTTP status code and a JSON object containing an error message.

{
  "error": "Invalid data supplied"
}




FAQ


Q: What is kpbin?
A: kp bin is a website that allows users to store and share plain text, codes online.
Q: How do I use kpbin?
A: To use kpbin, simply type or paste your text into the text box provided. Finally, click "save" and your paste will be uploaded to the site. You'll then receive a link to share with others.
Q: Do I need an account to use Kpbin?
A: No, you don't need an account to use Kpbin. You can create pastes anonymously.
Q: Can I edit or delete a paste once it's been created?
A: No, you cannot edit or delete a paste once it has been created.
Q: Can I upload files to Kpbin?
A: No, you cannot upload files to Kpbin. Use a cloud uploader for that.
Q: Is it safe to store passwords on Kpbin?
A: No, it is still possible for your pastes to be accessed by others. Therefore, it's best to avoid posting sensitive or confidential information on the site.
Q: How long are pastes stored on Kpbin?
A: Your pastes never expire.
Q: Can I make money from my pastes on Kpbin?
A: No, you cannot make money from your pastes on Kpbin. The site is meant for sharing information, not for commercial purposes.
Q: Can I contact support if I have a problem with Kpbin?
A: Yes, you can contact support by using the "Contact Us" section.