Get started with Taxu
Create an account and learn how to integrate tax filing, document processing, and compliance automation into your application.
Create an account
Set up a Taxu account and immediately start building your integration. No credit card required for testing.
If you're ready to start developing, see our Checkout quickstart or explore the Sandbox environment.
Create free accountDeveloper setup
Set up your development environment
Get familiar with the Taxu CLI and our core SDKs for Node.js, Python, and Ruby.
View documentationGet your API keys
Get your API keys and learn about authentication, rate limits, and best practices.
Manage API keysTry Taxu Shell
Interactive browser-based shell with pre-configured CLI for testing APIs instantly.
Open ShellStart building
Subscriptions quickstart
Build a subscriptions integration using Taxu Billing and Checkout.
Learn moreBuild a marketplace or platform
Use our platform models to accept payments on behalf of your users or build a multi-party marketplace.
Learn moreUse Taxu without writing code
Accept payments with shareable links or by sending an invoice directly.
Learn moreExplore all products
Don't see your use case? Browse all of Taxu's tax and compliance products.
Learn moreQuick start code example
Here's a simple example to process a W-2 document and calculate taxes. Copy and run this in your environment to test the API.
NNode.js
// SDK coming soon - use REST API for now
// REST API Example
const response = await fetch('https://api.taxu.io/v1/documents/upload', {
method: 'POST',
headers: {
'Authorization': 'Bearer your_api_key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
file: fileData,
type: 'w2'
})
});
const uploadedFile = await response.json();
// Get AI analysis results
const analysisResponse = await fetch(`https://api.taxu.io/v1/documents/${uploadedFile.id}`, {
headers: {
'Authorization': 'Bearer your_api_key'
}
});
const analysis = await analysisResponse.json();
console.log('Employer:', analysis.extracted_data.employer_name);
console.log('Wages:', analysis.extracted_data.wages);
// Calculate tax refund
const calculationResponse = await fetch('https://api.taxu.io/v1/tax/calculate', {
method: 'POST',
headers: {
'Authorization': 'Bearer your_api_key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
income: analysis.extracted_data.wages,
withheld: analysis.extracted_data.federal_tax_withheld
})
});
const calculation = await calculationResponse.json();
console.log('Estimated Refund:', calculation.estimated_refund);PyPython
# SDK coming soon - use REST API for now
# REST API Example
import requests
API_KEY = 'your_api_key'
BASE_URL = 'https://api.taxu.io/v1'
# Upload and process a W-2 document
with open('w2.pdf', 'rb') as file:
response = requests.post(
f'{BASE_URL}/documents/upload',
headers={'Authorization': f'Bearer {API_KEY}'},
files={'file': file},
data={'type': 'w2'}
)
uploaded = response.json()
# Get AI analysis results
analysis_response = requests.get(
f'{BASE_URL}/documents/{uploaded["id"]}',
headers={'Authorization': f'Bearer {API_KEY}'}
)
analysis = analysis_response.json()
print(f'Employer: {analysis["extracted_data"]["employer_name"]}')
print(f'Wages: {analysis["extracted_data"]["wages"]}')
# Calculate tax refund
calculation_response = requests.post(
f'{BASE_URL}/tax/calculate',
headers={'Authorization': f'Bearer {API_KEY}'},
json={
'income': analysis['extracted_data']['wages'],
'withheld': analysis['extracted_data']['federal_tax_withheld']
}
)
calculation = calculation_response.json()
print(f'Estimated Refund: {calculation["estimated_refund"]}')Authentication
All API requests require authentication using your API key in the Authorization header:
Authorization: Bearer your_api_key_hereKeep your API keys secure and never expose them in client-side code. Use environment variables and server-side requests only. Learn more about API security best practices.