• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
seyistry

seyistry

waec_api

Public
Like
waec_api
Home
Code
4
backend
3
frontend
1
shared
1
README.md
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
index.ts
https://seyistry--9bd55c7638eb11f0a8379e149126039e.web.val.run
README.md

WAEC Results API

An unofficial REST API for querying WAEC (West African Examinations Council) student results from waecdirect.org.

Features

  • REST API endpoints for submitting student information
  • Web scraping integration with WAEC Direct website
  • Form validation and error handling
  • JSON response format for easy integration

API Endpoints

POST /api/results

Submit student information to retrieve WAEC results.

Request Body:

{ "examNumber": "string", "examYear": "string", "examType": "string", "cardPin": "string" }

Response:

{ "success": true, "data": { "studentInfo": {...}, "results": [...] } }

Project Structure

├── backend/
│   ├── index.ts           # Main API server
│   ├── routes/
│   │   └── results.ts     # WAEC results endpoints
│   └── services/
│       └── waec-scraper.ts # Web scraping logic
├── frontend/
│   ├── index.html         # Test form interface
│   └── app.js            # Frontend JavaScript
└── shared/
    └── types.ts          # Shared TypeScript types

Usage

  1. Start the server (automatically handled by Val Town)
  2. Submit POST requests to /api/results with student information
  3. Receive parsed WAEC results in JSON format

Note

This is an unofficial API and is not affiliated with WAEC. Use responsibly and in accordance with WAEC's terms of service.

HTTP
  • index.ts
    seyistry--9b…9e.web.val.run
Code
backendfrontendsharedREADME.md
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.