Request API Key

In order to obtain your API key, please log in to your dashboard account.


Endpoints & Resources

Discover the key endpoints and resources of the AnalyzeMyDream API below. For comprehensive details on each endpoint and its parameters, please consult the provided documentation.


Get Dream Meanings

Method: GET

Endpoint: https://analyzemydream-api.vercel.app/dream/{api_key}{lang}{category}{slug}

Description: Retrieves a dream article based on the language, category, and article identifier.

Path Parameters

  • lang (required): Language of the article (e.g., English, Portuguese, Spanish)
  • category (required): Category of the dream (e.g., Animals, People)
  • slug (required): Unique identifier of the article (e.g., what-does-it-mean-to-dream-about-work)

Code Snippet

Select a language:

Copy Green Icon
 

Responses

200 OK:

Response Body:

Example JSON:

                      {
                          "title": "Article Title",
                          "pubDate": "2024-08-16",
                          "description": "Description of the dream article.",
                          "author": "Author Name",
                          "image": "https://analyzemydream.com/article-image.png",
                          "tags": ["dream", "meanings"],
                          "content": "Full content of the dream article."
                      }
                                      

422 Validation Error:

Response Body:

Example JSON:

                      {
                          "detail": [
                              {
                                  "loc": ["path", "lang"],
                                  "msg": "field required",
                                  "type": "value_error.missing"
                              }
                          ]
                      }
                    

Fast-AI Dream Analyzer

Method: POST

Endpoint: https://analyzemydream-api.vercel.app/analyzer/{api_key}

Description: Analise um sonho fornecendo uma descrição, e o Fast-AI Analyzer retorna uma interpretação rápida.

Request Body

  • dream_description (required): A detailed description of the dream (minimum 30 words)
  • lang (required): Language code (e.g., en, pt, es)
 

Code Snippet

Select a language:

Copy Blue Fast
 

Responses

200 OK:

Response Body:

Example JSON:

                      {
                              "analysis": 
                              "Dreaming of swimming in a crystal-clear ocean with colorful fish is a beautiful and positive dream with several potential interpretations: General Meaning:  Peace and tranquility: The clear ocean water symbolizes a sense of calm and serenity. You may be feeling emotionally balanced and at peace in your waking life.  Joy and abundance: The vibrant fish represent joy, happiness, and possibly even good fortune. They could symbolize opportunities or blessings coming your way. Emotional freedom: Swimming in the ocean can be a symbol of letting go of burdens and embracing your emotions freely. You might be experiencing a period of emotional liberation. Possible Specific Meanings:  Connection to your emotions: The ocean represents your subconscious mind and emotions. The fish could symbolize your thoughts, feelings, or even dreams.  Personal growth: The journey through the ocean might represent a period of personal growth and transformation. You're moving forward in life and exploring new depths within yourself. Exploration and adventure: The vibrant fish and clear water could also symbolize a desire for exploration and adventure. You may be longing for new experiences and a change of pace. Remember: Dream interpretation is personal and subjective. The best way to understand your dream is to consider its specific details and how it made you feel. To further analyze your dream, consider:  The size and behavior of the fish: Were they friendly or aggressive? Did they seem happy or scared? The color of the fish: Different colors have different symbolic meanings.  Any other objects or elements in the dream: Did you see any coral, seaweed, or other marine life? By reflecting on these details, you can gain a deeper understanding of what your dream is trying to tell you."
                      }
                    

422 Validation Error:

Response Body:

Example JSON:

    {
        "detail": [
            {
                "loc": ["body", "dream_description"],
                "msg": "Ensure the description has at least 30 words.",
                "type": "value_error"
            },
            {
                "loc": ["body", "lang"],
                "msg": "Input should be 'en', 'pt' or 'es'",
                "input": "fr",
                "ctx": { "expected": "'en', 'pt' or 'es'" }
            }
        ]
    }
                    

Advanced-AI Dream Analyzer

Method: POST

Endpoint: https://analyzemydream-api.vercel.app/advanced-analyzer/{api_key}

Description: Analyze a dream with Advanced-AI, delivering a comprehensive interpretation based on predefined criteria such as type, importance, emotions, context, and more.

Request Body

  • dream_description (required): A detailed description of the dream (minimum 30 words)
  • dream_type (optional): Type of the dream (e.g., Experienced, Lucid, Blurred, N/A)
  • dream_importance (optional): Importance of the dream (e.g., Insignificant, Neutral, Very Important, N/A)
  • main_emotions (optional): Main emotions experienced in the dream (e.g., Happiness, Sadness, Fear, Anxiety, Anger, N/A)
  • dream_context (optional): Context of the dream (e.g., Familiar, Unknown, Natural Environment, Urban Environment, N/A)
  • dream_state (optional): State after the dream (e.g., Refreshed, Tired, Confused, Indifferent, N/A)
  • dream_frequency (optional): Frequency of similar dreams (e.g., Rarely, Occasionally, Frequently, Always, N/A)
  • dream_expectations (optional): Expectations from the dream (e.g., Problem Resolution, Personal Insight, Warnings, Entertainment, N/A)
 

Code Snippet

Select a language:

Copy Green Advanced
 

Responses

200 OK:

Response Body:

Example JSON:

                      {
                      "analysis": 
                      "Your dream of a bustling office environment reflects your own drive and ambition. The hum of activity and the sense of purpose you felt in the dream suggest you are currently motivated and focused on your goals. The pressure of deadlines and the feeling of accomplishment indicate that you're actively engaged in challenging tasks and are seeing the fruits of your labor. The collaborative aspect of your dream underscores the importance of teamwork in achieving success. You may be feeling particularly connected to your colleagues or collaborators in your waking life, recognizing the value of their contributions to your work.  Overall, this dream is a positive reflection of your current mindset and aspirations. It suggests you're driven, focused, and value the collaborative nature of professional success. Here are some further considerations:  Specific details: Did you recognize any of the colleagues in your dream? Did the project have a specific theme or goal? These details might provide additional clues about your subconscious thoughts and anxieties. Your current life: How does this dream relate to your current work life? Are you experiencing any particular challenges or triumphs that might be reflected in the dream? Personal interpretation: Ultimately, the most relevant interpretation of your dream is the one that resonates most with you personally. Consider how this dream makes you feel and what message it might be conveying to you. "
                      }
                    

422 Validation Error:

Response Body:

Example JSON:

                      {
                        "detail": [
                            {
                                "loc": ["body", "dream_description"],
                                "msg": "Ensure the description has at least 30 words.",
                                "type": "value_error"
                            },
                            {
                                "loc": ["body", "dream_type"],
                                "msg": "Invalid value. Expected one of: Experienced, Lucid, Blurred, N/A",
                                "input": "Fantasy",
                                "ctx": { "expected": "Experienced, Lucid, Blurred, N/A" }
                            }
                        ]
                    }
                    

Custom-AI Dream Analyzer

Method: POST

Endpoint: https://analyzemydream-api.vercel.app/custom-analyzer/{api_key}

Description: Submit a dream description along with user-defined custom parameters to our Custom-AI Dream Analyzer. This endpoint allows you to tailor the analysis based on specific parameters you define, providing a personalized and detailed analysis of the dream.

Request Body

  • dream_description (required): A detailed description of the dream (minimum 30 words)
  • custom_parameter1 (optional): Custom value 1 (e.g., Custom values)
  • custom_parameter2 (optional): Custom value 2 (e.g., Custom values)
  • custom_parameter3 (optional): Custom value 3 (e.g., Custom values)
  • custom_parameter4 (optional): Custom value 4 (e.g., Custom values)
  • custom_parameter5 (optional): Custom value 5 (e.g., Custom values)
  • custom_parameter6 (optional): Custom value 6 (e.g., Custom values)
  • custom_parameter7 (optional): Custom value 7 (e.g., Custom values)
  • custom_parameter8 (optional): Custom value 8 (e.g., Custom values)
  • custom_parameter9 (optional): Custom value 9 (e.g., Custom values)
  • custom_parameter10 (optional): Custom value 10 (e.g., Custom values)
 

Code Snippet

Select a language:

Copy Green Advanced
 

Responses

200 OK:

Response Body:

Example JSON:

                    {
                    "analysis": 
                    "Dream Analysis: -The Bustling Office:  Your dream of a bustling office environment, filled with colleagues and the hum of activity, reflects your desire for purpose, belonging, and accomplishment in your waking life. Let's break down the key elements: The Office: The office setting symbolizes your professional life and your relationships with colleagues. It represents your place within a structured environment and the expectations that come with it.  The Bustling Activity: The constant hum of activity, the clatter of keyboards, and the sense of urgency all point to your drive to achieve goals and succeed. You thrive in environments where there is a sense of purpose and progress. The Important Project: This represents a challenge or goal you're currently working on. It signifies your commitment to achieving something significant and the effort you're putting in to succeed.  Teamwork: The emphasis on collaboration suggests you value the input and support of others. Working together towards a common goal brings you satisfaction and a sense of shared accomplishment. Tight Deadlines: While deadlines can be stressful, the dream's portrayal of them as something you handle effectively speaks to your adaptability and resilience in the face of pressure. You're able to rise to the occasion and find solutions when faced with demanding situations. Sense of Accomplishment: The feeling of accomplishment you experience in the dream reflects your desire to be recognized and valued for your contributions. You want your work to have a positive impact and you are motivated by the sense of fulfillment that comes with achieving goals. The Dream's Message:  This dream seems to be a reflection of your current work ethic and aspirations. It suggests that you are motivated, ambitious, and value working within a team. You are dedicated to achieving goals and finding success in your professional endeavors.  Recurring Themes:  Purpose & Belonging: The dream highlights your need to find meaning and connection in your work, both through individual achievements and teamwork. Achievement & Recognition: You seek validation for your efforts and find fulfillment in achieving goals and being acknowledged for your contributions. Resilience & Adaptability: You are capable of handling pressure and finding solutions in challenging situations. In Conclusion:  This dream serves as a positive affirmation of your current mindset. It highlights your professional ambition, your drive to achieve goals, and your appreciation for teamwork and collaboration. You are on the right track to achieve your professional aspirations.  Further Exploration:  Are there any specific projects or goals in your waking life that this dream might be reflecting?  Do you feel you are currently working in an environment that allows you to thrive and achieve your full potential?  What steps can you take to further foster a sense of purpose, belonging, and accomplishment in your work life? Note: The custom parameters provided, such as 'mythical creatures' or 'emerald and glowing', do not seem to have a direct association with the main elements of the dream described. You may want to review these parameters to ensure they better align with the dream experience. Disclaimer: This analysis is provided by AI and may not be entirely accurate. For a more comprehensive understanding and interpretation, it is advisable to consult with a qualified professional."
                    }
                  

403 Forbidden Error:

Response Body:

Example JSON:

                    {
                      "detail": [
                          {
                          
                            "detail": "Invalid API key"
                        
                          }
                      ]
                  }
                  

Comparative-AI Dream Analyzer

Method: POST

Endpoint: https://analyzemydream-api.vercel.app/comparative-analyzer/{api_key}

Description: Submit a Comparative of two dream descriptions to our Comparative AI Dream Analyzer. This endpoint processes all provided dreams and returns a consolidated analysis, offering insights into the collective data of multiple dreams.

Request Body

  • input1 (required): A detailed description of the first dream.
  • input2 (required): A detailed description of the second dream.
  • lang (required): Language of Devolution (e.g., en, es, pt)
 

Code Snippet

Select a language:

Copy Green Comparative
 

Responses

200 OK:

Response Body:

Example JSON:

                {
                "comparative_analysis": " A Comparative Analysis of Two Dreams: -Dream 1: The Crystal Ocean Setting: A serene and tranquil crystal-clear ocean teeming with vibrant fish. Sensory Details: The coolness of the water, the sunlight filtering through the surface, the vibrant colors of the fish, the gentle swaying of seaweed. Emotional Tone: Peaceful, joyful, carefree. Possible Interpretation: This dream could symbolize a period of emotional peace and clarity. The ocean represents the vastness of the subconscious, while the fish symbolize potential, creativity, and the abundance of life. The vibrant colors could indicate a sense of joy and optimism, suggesting a positive outlook on the dreamer's current life. -Dream 2: The Bustling City Setting: A bustling city street filled with bright lights and the sounds of traffic. Sensory Details: The bright lights, the constant hum of traffic, the murmur of conversations, the energy of the crowds, perhaps the smell of exhaust fumes and street food. Emotional Tone: Energetic, stimulated, slightly overwhelmed. Possible Interpretation: This dream could reflect a period of intense activity and stimulation in the dreamer's life. The city symbolizes the external world and the challenges and opportunities it presents. The bright lights and noise could represent the fast-paced nature of the dreamer's life, while the feeling of being overwhelmed might reflect a sense of being pulled in many directions. Comparative Analysis: Similarities: Both dreams feature a sense of movement and exploration. In Dream 1, the dreamer is actively swimming through the ocean, while in Dream 2, they are navigating through the crowds. This shared element could suggest a desire for personal growth or a need to explore new possibilities.Contrasting Themes: Tranquility vs. Stimulation: The contrast between the serene ocean and the bustling city highlights a potential conflict between the dreamer's desire for peace and their experience of a demanding environment. This could indicate a desire to escape the pressures of everyday life and reconnect with a sense of inner peace. Inner vs. Outer World: Dream 1 focuses on the internal world, symbolized by the ocean and its inhabitants. In contrast, Dream 2 emphasizes the external world, represented by the city and its inhabitants. This suggests a potential disconnect between the dreamer's inner and outer experiences, reflecting a need to find a better balance between the two.Further Considerations: Personal and Emotional Experiences: To understand the dreams more deeply, it's crucial to consider the dreamer's current life events and emotional state. For example, if the dreamer is experiencing a stressful period, the city dream could represent the overwhelming nature of their life, while the ocean dream might symbolize a desire for escape. Symbolism: Analyzing the specific objects, smells, and sounds in each dream can offer further insights. For example, the type of fish in Dream 1 or the specific businesses and buildings in Dream 2 might reveal significant symbolism related to the dreamer's personality or current life situation. Conclusion: These two dreams, though seemingly different, offer a fascinating glimpse into the dreamer's internal landscape. While the ocean dream reflects a desire for tranquility and peace, the city dream portrays a life filled with external pressures and stimuli. Understanding the interplay between these two dreams, considering their symbolic details, and relating them to the dreamer's personal experiences can provide valuable insights into their emotional state and current life challenges. Disclaimer: This analysis is based on a limited number of dreams and may not be entirely accurate. For a more comprehensive understanding and interpretation, it is advisable to consult with a qualified professional."
                }
              

403 Forbidden Error:

Response Body:

Example JSON:

                {
                  "detail": [
                      {
                      
                        "detail": "Invalid API key"
                    
                      }
                  ]
              }
              

Batch-AI Dream Analyzer

Method: POST

Endpoint: https://analyzemydream-api.vercel.app/batch-analyzer/{api_key}

Description: Submit a batch of up to three dream descriptions to our Batch AI Dream Analyzer. This endpoint processes all provided dreams and returns a consolidated analysis, offering insights into the collective data of multiple dreams.

Request Body

  • dream1 (required): A detailed description of the first dream to compare.
  • dream2 (required): A detailed description of the second dream to compare.
  • dream3 (required): A detailed description of the third dream to compare.
  • lang (required): Language of Devolution (e.g., en, es, pt)
 

Code Snippet

Select a language:

Copy Green batch
 

Responses

200 OK:

Response Body:

Example JSON:

                {
                "combined_analysis": “—Analysis for Dream 1: This dream reflects your deep-seated desire for growth and learning. The advanced course symbolizes your pursuit of knowledge and mastery in a field that truly interests you. The intensive nature of the classes indicates your willingness to put in the effort and dedication required for personal development. The sense of intellectual growth and accomplishment speaks to the fulfillment and satisfaction you derive from learning and expanding your horizons. The dream highlights the importance of lifelong learning and the rewarding experience of pushing yourself beyond your comfort zone.  ---Analysis for Dream 2:  The dream of hiking through a vast forest symbolizes a journey of self-discovery and growth. The tall, dense trees represent challenges and obstacles that may seem overwhelming at first. The sunlight filtering through the canopy signifies hope and guidance, suggesting that even in difficult times, there is always a way forward. The lush undergrowth represents the richness and complexity of life, while the distant sound of the waterfall evokes a sense of serenity and inner peace. The invigorating and calming nature of the hike suggests a need for balance and harmony in your waking life. The dream encourages you to embrace challenges and find peace within yourself, ultimately leading to a profound sense of connection with nature and your inner self. -—Analysis for Dream 3:  This dream speaks to a need for peace and tranquility in your waking life. The meadow, with its wildflowers and gentle breeze, symbolizes a sense of calm and serenity. Your subconscious is craving a respite from the stresses and anxieties of everyday life. The act of sitting and enjoying the beauty of the meadow suggests a desire to reconnect with nature and find solace in its simplicity. The dream might be encouraging you to seek out moments of peace and relaxation in your daily routine, even if it's just a few minutes spent in a quiet garden or park. - Disclaimer: This analysis is provided by AI and may not be entirely accurate. For a more comprehensive understanding and interpretation, it is advisable to consult with a qualified professional."
                }
              

403 Forbidden Error:

Response Body:

Example JSON:

                {
                  "detail": [
                      {
                      
                        "detail": "Invalid API key"
                    
                      }
                  ]
              }
              

Get Random Dream Meanings

Method: GET

Endpoint: https://analyzemydream-api.vercel.app/dream/random/{api_key}{lang}

Description: Fetches 5 random dream articles based on the provided language. Returns a list of articles with their metadata and content in a structured format.

Path Parameters

  • lang (required): Language of the article (e.g., English, Portuguese, Spanish)

Responses

200 OK:

Response Body:

Example JSON:

                {
                  "articles": [
                      {
                          "title": "Article Title",
                          "pubDate": "2024-08-16",
                          "description": "Description of the dream article.",
                          "author": "Author Name",
                          "image": "https://analyzemydream.com/article-image.png",
                          "tags": ["dream", "meanings"],
                          "content": "Full content of the dream article."
                      },
                      {
                          "title": "Article Title",
                          "pubDate": "2024-08-16",
                          "description": "Description of the dream article.",
                          "author": "Author Name",
                          "image": "https://analyzemydream.com/article-image.png",
                          "tags": ["dream", "meanings"],
                          "content": "Full content of the dream article."
                      },
                      {
                          "title": "Article Title",
                          "pubDate": "2024-08-16",
                          "description": "Description of the dream article.",
                          "author": "Author Name",
                          "image": "https://analyzemydream.com/article-image.png",
                          "tags": ["dream", "meanings"],
                          "content": "Full content of the dream article."
                      },
                      {
                          "title": "Article Title",
                          "pubDate": "2024-08-16",
                          "description": "Description of the dream article.",
                          "author": "Author Name",
                          "image": "https://analyzemydream.com/article-image.png",
                          "tags": ["dream", "meanings"],
                          "content": "Full content of the dream article."
                      },
                      {
                          "title": "Article Title",
                          "pubDate": "2024-08-16",
                          "description": "Description of the dream article.",
                          "author": "Author Name",
                          "image": "https://analyzemydream.com/article-image.png",
                          "tags": ["dream", "meanings"],
                          "content": "Full content of the dream article."
                      }
                  ]
              }

                                

422 Validation Error:

Response Body:

Example JSON:

                {
                    "detail": [
                        {
                            "loc": ["path", "lang"],
                            "msg": "field required",
                            "type": "value_error.missing"
                        }
                    ]
                }