The Orca Scan Barcode Scanner API lets you integrate barcode scanning into your systems through a single REST API. No device-specific code needed – just simple endpoints that work with any scanning device, from smartphones to professional hardware.
Getting Started with the Orca Scan Barcode Scanner API
You’re a developer who needs to add barcode scanning to your application, but writing native code for multiple devices is time-consuming and complex. Instead of managing different scanning libraries and hardware compatibilities, you can use our REST API to handle all scanning operations.
Your users capture data through the Orca Scan mobile app, while you focus on integrating the data through familiar REST endpoints – supporting everything from iOS and Android devices to professional scanning hardware.
Supported Devices and Hardware Compatibility
The Orca Scan barcode scanner app works with any:
- iOS or Android smartphone or tablet
- Barcode scanners from Honeywell, Datalogic, Zebra and others
- Bluetooth scanner connected to an iOS or Android device
TIP: start with low cost smartphones, add enterprise scanners if needed.
Implementation Guide for the Barcode Scanner API
The Barcode Scanner API is a REST based API that can be accessed using any programming language. To get started:
- Install the Orca Scan app on an iOS or Android device
- Open the app and create a new sheet
- Customise your data capture fields
- Login to the Orca Scan web app
- Go to Account Settings and copy your API key
- Launch the command line on your computer
- Run the following
curl
command to list your sheets
API Authentication and Security
The Barcode Scanner API is secured using HTTPS and requires an API key with each request. Please note: you must have a Business subscription to use this feature.
Orca Scan Endpoints and Methods
You can think of a sheet as a mini-database with its own unique configuration. The following endpoints let you manage sheets, rows, history, and user access.
Sheets
GET /sheets
= get a list of sheets
GET /sheets/:sheetId/fields
= get a list of fields in a sheet
GET /sheets/:sheetId/settings
= get sheet settings
PUT /sheets/:sheetId/clear
= clear all rows in a sheet
POST /sheets
= create a sheet
PUT /sheets/:sheetId/rename
= rename a sheet
DELETE /sheets/:sheetId
= delete a sheet
Rows
GET /sheets/:sheetId/rows
= get all rows
GET /sheets/:sheetId/rows/:rowId
= get a single row
POST /sheets/:sheetId/rows
= add row(s)
PUT /sheets/:sheetId/rows/:rowId
= update a single row
PUT /sheets/:sheetId/rows
= update multiple rows
DELETE /sheets/:sheetId/rows/:rowId
= delete a single row
DELETE /sheets/:sheetId/rows
= delete multiple rows
History
GET /sheets/:sheetId/history
= get sheet history
GET /sheets/:sheetId/:rowId/history
= get row history
Users
GET /sheets/:sheetId/users
= get users
POST /sheets/:sheetId/users
= add a user to a sheet
PUT /sheets/:sheetId/users/:userId
= update a user in a sheet
DELETE /sheets/:sheetId/users/:userId
= remove a user from a sheet
Hooks
Register a webhook to receive a HTTP POST as your sheet changes (no need to poll).
GET /sheets/:sheetId/hook-events
= get list of supported events
GET /sheets/:sheetId/hooks
= get all hooks on a sheet
GET /sheets/:sheetId/hooks/:hookId
= get an existing hook
POST /sheets/:sheetId/hooks
= create a new hook
PUT /sheets/:sheetId/hooks/:hookId
= update an existing hook
DELETE /sheets/:sheetId/hooks/:hookId
= delete an existing hook
Status Codes and Error Handling
The following HTTP status codes indicate the success or failure of a request:
Status | Message | Description |
---|---|---|
200 |
Ok | Request successful |
400 |
Bad request | Your request is missing data |
401 |
Unauthorized | You do not have permission to access this resource |
403 |
Forbidden | You do not have permission to access this resource |
404 |
Not found | The requested URL was not found |
409 |
Conflict | The item you attempted to create already exists |
500 |
Server Error | Something unexpected happened |
501 |
Not implemented | The requested action is not supported |
503 |
Service Unavailable | Exceeded maximum number of requests per second |
All HTTP errors include a JSON body structured as follows:
API Usage Guidelines and Rate Limit
You can send a maximum of 15 requests per second, exceeding this limit will result in a HTTP 503 Service Unavailable response.
Orca Scan Barcode Scanner API FAQs
How do I upload a file?
Add a photo or attachment field to your sheet and provide the file content as a base64 string:
What file types does the photo field support?
You can upload .jpg
, .png
, .gif
, .bmp
, .webp
, .tiff
and .svg
files to a photo field.
What files types does the attachment field support?
You can upload .doc
, .docx
, .csv
, .txt
, .ppt
, .pptx
, .pdf
, .xls
, .xlsx
and .mp4
files to an attachment field.
Does the API scrape barcodes?
The Orca Scan API doesn’t scrape barcodes – instead, it provides access to barcode data that’s captured through our mobile app. Your users scan barcodes using either iOS/Android devices or professional scanning hardware, and the API lets you retrieve and manage this scanned data in your applications.
Is the API simple to use?
Yes – the Orca Scan API is a standard REST API that uses familiar HTTP requests and returns JSON responses. To get started, your users install our mobile app for barcode capture, while you use standard GET, POST, PUT, and DELETE endpoints to access the data. You’ll need an API key (included with Business subscriptions) to begin making requests.
Does the API auto-populate fields?
Yes – when barcodes are scanned through our mobile app, you can customise field types (string, integer, datetime, etc.) that automatically structure your data. The Orca Scan API gives you immediate access to this structured data, and you can use webhooks to automatically receive updates in your system whenever new scans occur.
What barcode types does the API support?
Our API supports various barcode formats, including QR codes and Code 128. QR codes are versatile 2D barcodes that can store up to 7,089 numeric or 4,296 alphanumeric characters. Code 128 is a high-density linear barcode that can encode up to 128 characters, including letters, numbers, and special characters, making it particularly useful for logistics and inventory management. Your users can scan these barcode types through our mobile app, and the API will process the data consistently.
Barcode Scanner API related questions?
As with everything at Orca Scan, our Barcode Scanner API will evolve based on your feedback. If you have any issues, suggestions, or something is not quite clear, chat with us live.