Introducing Miniloop Agents: AI agents that connect to your appsRead more

How to Find Your FedEx API Credentials

Last updated April 1, 2026

To track shipments and use FedEx services programmatically, you need API credentials from the FedEx Developer Portal. Here's how to get them.

What You'll Need

  • A FedEx business account
  • Your 9-digit FedEx account number

Step 1: Create a Developer Account

  1. Go to developer.fedex.com
  2. Click Sign Up if you don't have an account, or Log In if you do
  3. Complete the registration with your business information

Step 2: Create a New Project

  1. After logging in, click My Projects in the left sidebar
  2. Click Create New Project
  3. Select the reason for API access (e.g., "I want to integrate FedEx into my platform")
  4. Give your project a name (e.g., "My Integration")
  5. Select the countries you ship to/from
  6. Click Create

Step 3: Copy Your Credentials

After creating the project, you'll see your credentials:

  • Client ID: Displayed on the project confirmation page
  • Client Secret: Shown once on the confirmation page

Important: Copy the Client Secret immediately. You won't be able to see it again. If you lose it, you'll need to regenerate it.

Step 4: Find Your Account Number

Your FedEx account number is a 9-digit number. You can find it:

  • On your invoice: Top right corner of any FedEx billing invoice
  • In your FedEx account: Log in at fedex.com > My Profile > Account Management
  • FedEx Billing Online: View any invoice to see the account number

What Can You Do with the FedEx API?

  • Track shipments: Get real-time tracking status for any FedEx tracking number
  • Get rates: Calculate shipping costs before booking
  • Create shipments: Generate shipping labels programmatically
  • Validate addresses: Verify delivery addresses before shipping

Troubleshooting

"Invalid client credentials" error

  • Verify your Client ID and Client Secret are correct
  • Make sure you're using production credentials, not sandbox/test credentials
  • Check if your developer project is active

"Account number invalid" error

  • Ensure you're using the 9-digit account number (not a tracking number)
  • Verify the account is active and in good standing

Automate Your Shipping Workflows

Once you have your API credentials, you can connect FedEx to Miniloop to automate shipment tracking, delivery notifications, and logistics workflows using natural language. Describe what you need, and Miniloop handles the rest.

Frequently Asked Questions

Do I need a FedEx business account?

Yes, FedEx API access requires a business account. Personal/residential accounts don't have access to the developer portal.

Is there a cost for FedEx API access?

The API itself is free to use, but you need an active FedEx business account. Standard FedEx shipping rates apply when creating shipments.

What's the difference between sandbox and production credentials?

Sandbox credentials are for testing and won't work with real tracking numbers. Make sure you're using production credentials for live integrations.

How do I regenerate my Client Secret?

Log in to developer.fedex.com, go to My Projects, select your project, and look for an option to regenerate credentials.