Difficulty Connecting to law.go.kr API from GPT – Need Support

Hello,

I’m currently developing a Custom GPT (named SAFETY GPT) to support industrial safety management in Korea.
I’m trying to connect this GPT to the official law.go.kr OpenAPI (https://www.law.go.kr/DRF/index.jsp),
but I’m facing some serious difficulties that I can’t resolve.

I’d like to ask for your support regarding the following issues:


:red_exclamation_mark: Key Questions & Issues

  1. Is it impossible to call the law.go.kr API without a proxy server?
    – I noticed that requests from the GPT environment are rejected, even though I’m using the official OC=bm_rice key.
  2. Even when calling the API, I don’t understand what exactly is failing.
    – I cannot retrieve the full body of the law.
    – Also, keyword-based searches (e.g. “falling from height”) don’t return any relevant clauses.
  3. Is it mandatory to register a domain name or a personal server IP?
    – Since GPTs don’t operate on a fixed server with a static IP, I cannot meet this requirement.

:white_check_mark: What I want to achieve

Here’s the intended logic I’m trying to implement:

  1. User submits a question (e.g. “What are the safety rules for ladder work?”)
  2. GPT infers key legal keywords from the question
  3. GPT calls the law.go.kr API based on those keywords
  4. API returns clauses or paragraphs that contain those keywords
  5. GPT verifies those clauses and evaluates relevance
  6. GPT gives a final structured answer to the user

Please help me understand how I can make this work — or if it’s even possible within the GPT framework.
I’m more than willing to adjust the architecture (e.g., adding a proxy server), but I’d like to confirm the official best practices first.

Thank you very much for your support.

Sincerely,