TextifyThis leverages advanced AI technology to automatically extract structured data from image receipts and invoices, enhancing the efficiency of your data processing workflow.
Our API service allows you to upload a file via a URL and converts the extracted data into JSON format.
Follow the steps to integrate TextifyThis services into your project.
To use the API, you need to sign up on TextifyThis and get an API key.
TextifyThis have 2 services that you can integrates into your project.
To authenticate your requests, include your API key in the query parameter.
https://https://textifythis.com/api/textify?token=<Your_API_KEY>
{"imgurl":"https://YOUR_IMAGE_URL"}
curl --location "https://textifythis.com/api/textify?token=<Your_API_KEY>"\ --header "Content-Type: application/json" \--data '{ "imgUrl": "https://YOUR_IMAGE_URL"}'
Integrate with a Single JavaScript.
<scriptsrc="https://cdn.textifythis.com/v1/js/textifythis-uploadfile-min.js"></script>const config ={apiKey:<Your_API_KEY>,fileUploadKey:<Your_FILE_UPLOAD_KEY>,filePrefixKey:'',fileType:'image/jpeg',// Change file type as neededbuttonLabel:'Upload File(s)',// Label for the upload buttonmaxFiles:2,// Maximum number of files to upload, default is 1fileInputLabel:'Click to upload your file',// Label for the file input fieldcallbackSuccess:function (response) {// Handle the successful upload},onloadStart:function (response) {// Handle the start of the file upload},onError:function (response) {// Handle the end of the file upload}, };// Initialize the TextifyThisFileUpload component with the config and target element IDconst fileUploadComponent = new TextifyThisFileUpload(config, 'file-upload-container');
All requests contain the following base URL:
https://textifythis.com
To authenticate your requests, include your API key in the query parameter.
https://textifythis.com/api/textify?token=<Your_API_KEY>
TextifyThis employs conventional HTTP status codes to signify the outcome of your requests.
Typically, 2xx HTTP status codes denote success, 4xx codes represent failures related to the user, and 5xx codes signal infrastructure problems.
Status | Description |
---|---|
200 | The request was successful. |
400 | There was a problem with the request(e.g., insufficient credits, validation errors). |
429 | The rate limit has been surpassed. |
5xx | Signifies a server error with TextifyThis. |
TextifyThis API has a rate limit to ensure the stability and reliability of the service. The rate limit is applied to all endpoints and is based on the number of requests made within a specific time frame.
When you exceed the rate limit, you will receive a 429 response code.