Documents
API Test Results
🐟 Fiskeridir API Test
Testing fish farm data from Norwegian Directorate of Fisheries
✅ Check the server console for detailed Fiskeridir test results
Testing various API formats to debug the Fiskeridir API response
🚢 Barentswatch AIS API Test
Testing real-time vessel tracking data from Barentswatch
✅Success
Successfully connected to Barentswatch AIS API
🚢 Found 4292 vessels in test area (Lofoten Islands)
⚙️ Environment Configuration
Required environment variables for API integration
Required in .env.local:
# Barentswatch API Configuration BARENTSWATCH_CLIENT_ID=Christer@codenord.no:codenord-v1 BARENTSWATCH_CLIENT_SECRET=your-client-secret-here BARENTSWATCH_AUTH_URL=https://id.barentswatch.no/connect/token # AIS API Configuration AIS_API_BASE_URL=https://live.ais.barentswatch.no/live AIS_API_SCOPE=ais
Next Steps:
- Add a client secret in the Barentswatch developer portal
- Copy the client secret to your .env.local file
- Restart the development server
- Refresh this page to test the connection