OpenAI Moderation API Microservice Development

Job ID: 39641022

Budget: $10 – $150 USD

Job Title:
Build a Standalone OpenAI Moderation API Microservice (No Access to Main Laravel Site)
________________________________________
Job Description:
I need a developer to create a standalone moderation microservice that connects to the OpenAI Moderation API. This service will help filter user-generated content on my platform, which is built in Laravel with a Angular/ jQuery-based frontend.
Important:
You will not receive access to my Laravel application. This microservice must be built and hosted independently, and I will integrate it myself.
________________________________________
Project Requirements:
The microservice should:
• Accept a POST request to a single endpoint (e.g., /moderate)
• Input JSON format:
• Call OpenAI’s Moderation API using my API key (provided securely)
• Return a structured JSON response:

Core Deliverables:
• Clean, secure API using PHP, Node.js (your choice)
• Proper handling and protection of OpenAI API key
• Hosted on my server (I’ll provide access — PHP preferred for easier integration)
• Simple and clear documentation (README or PDF) for:
o How to install and run
o How to test the endpoint via Postman
o How to adjust thresholds (should be included)
________________________________________
Features preferred:
• Return a recommendation value based on configurable rules:
o Example: hate > 0.9 → recommendation: "hold_for_review"
• Basic authentication (API key in header or IP restriction)
• Logging requests and responses (locally or to file)
• Graceful error handling (timeouts, bad input, etc.)
________________________________________
Timeline:
Preferred delivery: 3–5 days
Include your time estimate in the proposal.
________________________________________
To Apply, Please Include:
1. Your preferred language (PHP, Node.js)
2. Estimated delivery time
3. Any relevant experience with APIs or OpenAI integrations
________________________________________

Ownership & Handover Requirements
To ensure long-term flexibility and full control over the microservice, the following deliverables and conditions are required upon project completion:

What I Require:
Full source code of the microservice, including:
All PHP or Node.js files
Any configuration or environment files
Dependency files (such as composer.json or package.json)
Clear documentation (README or PDF) explaining:
How to install and run the service on my server
How to test the endpoint using Postman
How to modify moderation thresholds, rules, or authentication
Code should be clean, organized, and properly commented
Delivery should include all files in a downloadable ZIP archive or a Git repository

Red Flags to Avoid:
To ensure this is a maintainable and standalone solution, please do not:
Deliver only a deployed version without the source code
Withhold core logic or key files from the handover
Obfuscate or encrypt any part of the code
Use third-party paid services for moderation logic without prior approval
Build in a way that requires ongoing access or dependence on your support for basic changes

Final Goal:
The final product should be independently operable by me or any other developer I choose to work with in the future. I must be able to host, configure, and modify the microservice without needing further assistance once it has been delivered.

Note:
I will integrate the moderation API myself into my Laravel backend using basic HTTP requests. No frontend or Laravel access is required on your end.
Thank you — I look forward to working with a reliable, efficient developer on this focused and important microservice.
Skills Required
PHP
JavaScript
Node.js
Laravel
AngularJS
Angular
API Development
API Integration
Microservices
OpenAI