The Database Hub | Back4App
The Database Hub | Back4App
How it works
  • Log In
  • Sign Up

  1. Back4App
  2. Industries and Activities
Public

31
26
31
26
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

Search Activity by Title

This query searches for an activity by its title and fetches all its NAICS related data.


0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
query SearchActivities {
  activities(where: { title: { matchesRegex: "hosting" options: "i" } }) {
    results {
      title
      nationalIndustry {
        code
        industry {
          industryGroup {
            subsector {
              sector {
                title
              }
              title
            }
            title
          }
          title
        }
        title
      }
    }
  }
}
{
  "data": {
    "activities": {
      "results": [
        {
          "title": "Application hosting",
          "nationalIndustry": {
            "code": "518210",
            "industry": {
              "industryGroup": {
                "subsector": {
                  "sector": {
                    "title": "Information"
                  },
                  "title": "Data Processing, Hosting, and Related Services"
                },
                "title": "Data Processing, Hosting, and Related Services"
              },
              "title": "Data Processing, Hosting, and Related Services"
            },
            "title": "Data Processing, Hosting, and Related Services"
          }
        },
        {
          "title": "Web hosting",
          "nationalIndustry": {
            "code": "518210",
            "industry": {
              "industryGroup": {
                "subsector": {
                  "sector": {
                    "title": "Information"
                  },
                  "title": "Data Processing, Hosting, and Related Services"
                },
                "title": "Data Processing, Hosting, and Related Services"
              },
              "title": "Data Processing, Hosting, and Related Services"
            },
            "title": "Data Processing, Hosting, and Related Services"
          }
        }
      ]
    }
  }
}